SVN Patches

From Dev411: The Code Wiki

A common practice in open source software is the creation of patches. This is typically done using a version control system such as Subversion (SVN). Here are the rough steps to create a SVN patch against a remote SVN server.

Installing SVN

Download the latest SVN source from http://subversion.tigris.org and following the INSTALL instructions.

Checking out full distribution

SVN can checkout a remote distribution as follows. When you are ready to submit a patch you should do a clean build of the distribution and run the unit tests.

svn checkout http://dev.catalyst.perl.org/repos/Catalyst/

Creating a Patch

Once you have updated a file, you can create a SVN diff file with the following command:

svn diff File > patchfile.diff