Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Environment Variable for defining differencing tool in Subversion

I see that there is the SVN_EDITOR environment variable to define what editor to use with subversion, and there's also SVN_MERGE environment variable for merging files.

Is there an environment variable for defining the differencing tool?

like image 498
lamcro Avatar asked Jun 08 '10 16:06

lamcro


2 Answers

You can customize the difference tool used by setting diff-cmd in your ~/.subversion/config file; see the manual. You can also use a --diff-cmd option on the command-line.

like image 199
Ether Avatar answered Nov 15 '22 09:11

Ether


You could also add an alias such as the following to the same default profile: alias svndiff='svn diff --diff-cmd /usr/bin/meld'

like image 36
Rich Calaway Avatar answered Nov 15 '22 09:11

Rich Calaway