11 February, 2008

GUI for svn diff

Instead of calling svn diff, I can call svndiff to get a graphical diff, by defining the alias (in my ~/.bashrc):
alias svndiff='svn diff --diff-cmd /home/kpe/diffwrapper'
This allows me to have a GUI diff, when I define diffwrapper like this:
#!/bin/sh

# Configure your favorite diff program here.
# Subversion provides the files as a 6-th and 7-th parameter.
meld "${6}" "${7}"

No comments: