Paul Calnan
Published August 15, 2012

Sometimes, the output of svn diff doesn't quite cut it. Sometimes, you want to see a side-by-side comparison of the full files. The --diff-cmd flag lets you specify an external diff program:

svn diff --diff-cmd=fmdiff

This requires fmdiff, which is available from the developer's website or via Homebrew. It will show a diff of the entire file in FileMerge.

I use this frequently enough that I added an alias to it in my .bashrc file:

alias svndiff='svn diff --diff-cmd=fmdiff'