How to use GUI diff with SVN

A GUI diff program can be used for viewing the diff in Subversion by using the --diff-cmd option. For example, to use the Meld GUI diff tool:

$ svn diff --diff-cmd meld

If you find yourself using the GUI diff frequently, consider adding an alias command to your shell that uses this option. For example, if you use the Fish shell, you can add this function:

function svnvdiff --description="SVN diff using GUI diff tool"
    svn diff --diff-cmd meld $argv

Tried with: Subversion 1.8.8 and Ubuntu 14.04

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.