"Boylan, Ross" <[email protected]> writes:

> Is there a way to associate different diff tools with different file 
> extensions?
> I did this before (code now vanished), and am not sure how I got
> around this.

Not sure. But it is easy to add command spawning custom diff
program. Sth like:

   [extdiff]
   cmd.mydiff = /wherever/my/script/is

   [diff-tools]
   mydiff.diffargs=--L1 '$plabel1' --L2 '$clabel' $parent $child

and you get 

    hg mydiff  «normal-diff-args»

command. See hg help -e extdiff for details (including list of possible
$args).


_______________________________________________
Mercurial mailing list
[email protected]
https://www.mercurial-scm.org/mailman/listinfo/mercurial

Reply via email to