04 June 2012

To display svn diff results side-by-side


Use the following command to suppress unaltered lines of code (optional), change the width of the output (optional), and display the results of an svn diff output side-by-side:

svn --diff-cmd "diff" --extensions "-y --suppress-common-lines --width=240" diff -r M:N path/filename 

Where M=the revision number before changes and N=the last rev number of the changes you wish to see.

No comments: