show difference with different tool based on file extentions ?

bardy bardiku at gmail.com
Fri Jul 17 01:07:43 CDT 2009


show difference with different tool based on file extentions ?


Can I define several diff tools based on file extentions ?

e.g. I just find " Compare It! " is better to show differences between
Microsoft .doc files. so I want to use it to compare .doc files,
and use kdiff3 to compare other files.


I just find this in http://mercurial.selenic.com/wiki/MergeToolConfiguration ,
but it's for merge, how about diff ?

----------------------
Example configuration:

 [merge-tools]
 mymergetool.priority = 100
 mymergetool.premerge = False
 mymergetool.args = $local $other $base -o $output
 myimgmerge =
 [merge-patterns]
 **.jpg = myimgmerge
 **.exe = internal:fail

--------------------


More information about the Mercurial mailing list