Compare files between two branches in TortoiseSVN

Kris Erickson picture Kris Erickson · Jan 13, 2011 · Viewed 60.7k times · Source

I know how to do this in SVN,

svn diff http://svn.example.com/branches/A/File1.txt http://svn.example.com/branches/B/File1.txt

But there has to be a less painful way to do this in TortoiseSVN. You would think that you could do it from the Show Log, but it appears to only show revisions on the current branch.

Answer

Antonio Pérez picture Antonio Pérez · Jan 13, 2011
  1. Go to the repository browser (<right click>/TortoiseSVN/Repo-browser/<enter URL>).
  2. Open right click menu on branch B, select 'Mark for comparison'.
  3. Then open right click menu on branch A, select 'Compare URLs' or 'Show differences as unified diff'.