Shuman Shuman - 1 month ago 9
Bash Question

How to svn diff two files in different branch and from two specific revison?

I can use this get the diff between a specific revision number and latest version for a certain file

svn diff -r<revision number> --diff-cmd='meld' <svn_url>


But if I have two files, in two different branch, then I want to diff them from two specific revisions. How do I do that without checking out files?
Thanks!

Answer

svn help diff, 4-th form:

svn diff OLD-URL@OLDREV NEW-URL@NEWREV
Comments