Is it possible to view “svn diff” output graphically on Mac OS?
Most of the graphical diff programs allow you to view only one file per time. Which is very inconvenient when you use svn and have changed like 10 files.
For Linux I have found a solution in “kompare” program.
I do:
svn diff > diffOut; kompare diffOut
and as result I work with graphical program and check all files at once like it shown on the picture.
Is there same thing for Mac OS?
P.S. “meld” programm seems to do the same (or it doesn’t?), and I have already tried to install it, but got an error. Therefore I supouse that I can’t install it under OSx 10.7.
There is kompare for Mac OS.
It is a part of KDE SDK and one can get it using MacPorts:
and it works!
Svn supports so called external diff.
To use it one should create svn-wrapper script, which will take parameters returned by “svn diff” command and call differ with required parameters.
here is an example of parameters “svn diff” returns:
opendiff needs last two. Therefore next bash script will be appropriate:
put this script in svnwrapper.sh file. Made file executable:
and put it in some common path, which is added to $PATH variable.
Now you can call svn using
or just add at the section [helpers] in ~/.subversion/config file: