Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to use GUI diff with SVN

📅 2014-May-19 ⬩ ✍️ Ashwin Nanjappa ⬩ 📚 Archive

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