how to create and apply a patch with subversion

December 19th, 2009 by Jayson Leave a reply »

you know how often you need to create a patch when you’re a creative open source guy

here is the resoure: http://ariejan.net/2007/07/03/how-to-create-and-apply-a-patch-with-subversion/

1. create patch file using svn diff


svn diff > ~/fix_ugly_bug.diff

2. using the patch file to patch

patch -p0 -i ~/fix_ugly_bug.diff
Advertisement

Leave a Reply

You must be logged in to post a comment.