Pages

Friday, November 8, 2013

Create a patch using SVN for newly added file

I submitted my first svn patch as a contributor to Apache. :) Here's how I did that.

Go to the correct directory where you have done the changes.

Add the file to the repository:
svn add {filename} 
     E.g., svn add file1.java

First check the differences:
svn diff

Create the patch file:
svn diff > {patch name}.patch
     E.g., svn diff > patchforissue01.patch

No comments:

Post a Comment