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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With