Search This Blog

Tuesday, February 15, 2011

How to get a svn diff form a specific revision

If you want to get the changed file list

>svn diff -r REVNO:HEAD --summarize

example

>svn diff -r 6738:6739 --summarize

Get as a patch file

>svn diff -r 6738:6739>mychange.diff

apply the patch file

>patch -p0 -i mychange.diff

No comments: