On 2013-04-05 16:07, Lubos Pintes wrote: > svn diff >patch.txt > However, my test patch contains files I never touched, and I don't > understand why.
New Lazarus revisions sometimes triggers rebuilding of translation files (the *.po files). To fix your issue. Simply specify the exact file, in the 'svn diff' command you want to create a patch for. Unfortunately svn is a bit stupid and does all or nothing. So if you have multiple unrelated changes in a single file, they are all going to end up in the same patch. :-/ Alternatively, use the Git repository. Then you can use 'git gui' (a graphical tool included with a Git install) where you can clearly and easily see the files that changed. You can view the diffs, and can even break a lot of changes in a single file, into smaller patches (commits), by selecting the changed lines and only commit that. Then generate patch files off your local commits (with 'git format-patch origin/upstream'). The Lazarus wiki has more details on the Git mirror repositories and work-flows. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus