Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any free svn diff tool for Mac Instead of use command line 'svn diff' [closed]

Tags:

macos

diff

svn

Using command line to view the diff code is really tough. Is there any GUI tool or just with gramma highlight command line tool to view the code changes of svn code line.

like image 764
eric Avatar asked Jul 31 '14 03:07

eric


1 Answers

First, download and install Xcode, or from AppStore in OSX. Inside Xcode it have an application called FileMerge for diff and merge.

To configure svn diff for FileMerge, you can try Wrapper to use OS X FileMerge when calling svn diff. In short, add below line to ~/.subversion/config

[helpers] 
diff-cmd = ~/bin/svn-diffwrap.sh

In ~/bin/svn-diffwrap.sh

#!/bin/sh
/usr/bin/opendiff ${6} ${7}

chmod mod executable to svn-diffwrap.sh. You may need to provide full path instead of ~ if svn fails to find svn-diffwrap.sh.

like image 76
neo Avatar answered Sep 28 '22 18:09

neo