Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I get a pretty visual diff for svn?

Tags:

diff

svn

I want tkdiff (or something like it) to display my 'svn diff' so that I can switch files in the tkdiff interface itself.

(I'm using a mac.)

like image 893
Neil G Avatar asked Sep 22 '10 17:09

Neil G


People also ask

What is svn diff?

svn diff (di) — This displays the differences between two revisions or paths.

How do I find my svn diff?

Display the differences between two paths. The ways you can use svn diff are: Use just svn diff'to display local modifications in a working copy. Display the changes made to TARGET s as they are seen in REV between two revisions.


2 Answers

One windows I use TortoiseSVN, best SCM client on the planet.

On Linux the closest I can get is installing meld and running the following subversion command:

svn diff MyFile.txt --diff-cmd meld 
like image 150
Mark O'Connor Avatar answered Sep 29 '22 20:09

Mark O'Connor


The easiest way is to use an SVN client. It will enable additional functionality not available with command line SVN.

On Windows, I recommend TortoiseSVN. It allows integration with third party diff tools such as Araxis Merge.

Similar tools exist on other operating systems which allow you to do the same.

like image 33
Andres Avatar answered Sep 29 '22 21:09

Andres