[Lazarus] Creating patches

Florian Klämpfl florian at freepascal.org
Fri Jul 8 23:02:20 CEST 2011


Am 08.07.2011 23:42, schrieb Hans-Peter Diettrich:
> How can I create and apply patches to Lazarus?
> 
> First problem is SVN, which does not allow for "incremental" patches,
> i.e. a big patch cannot be split into smaller steps, as frequently
> requested by the developers. Solutions?

Ask for an svn branch with write access.

> 
> Next problem are patches created by Git, which seem to be undecipherable
> by TortoiseSVN "Apply patch..." on Windows. Which tools can be used, on
> which platform, to apply diffs or patches? [see TabCtrl0/1.patch on
> Mantis http://bugs.freepascal.org/view.php?id=19575].

svn-apply can be used to apply patches to svn created by git
format-patch:
http://svn.freepascal.org/svn/fpcbuild/scripts/florian/unix/svn-apply

Tested on unix only.




More information about the Lazarus mailing list