Home

Monday, July 25, 2011

Svn command line to compare two braches

Sometimes, we need to compare difference of two svn branches by command line.
The answer is diff command.

Here is command:

svn diff --old=[OLD_URL] --new=[NEW_URL]


If we want to show only summary information use --summarize option
svn diff --summarize --old=[OLD_URL] --new=[NEW_URL]

I hope it useful ^_^

No comments:

Post a Comment