Thursday, January 21, 2010

How to apply a patch

1). Take the svn diff of the changes you made and save it to a file.
$svn diff > ~/Desktop/carbon.patch021

2). Apply the saved patch to the source.
$patch -p 0 < ~/Desktop/carbon.patch021

3). Commit the changes.
$svn commit

No comments: