views:

83

answers:

1

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?

+2  A: 

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.

Ether
I know, thanks. But I still find it weird that you can set editing and merging through environment variables, but not differencing.
lamcro
+1 - there is no environment variable for that, you can try "strings .../svn" to see what strings exist in the binary and figure out which of them are names of environment variables
bobah
@lamcro: yes, it's somewhat odd, but there's a longstanding tradition for editors (and pagers) to be customized from environment variables; difference programs are more specific to SCMs, and the config files are available for that, so there isn't really a need to add yet another way.
Ether