I'm looking at the same issue (just for word docs at the moment) and have gone for the extdiff solution in order to reuse the nifty TortoiseSVN script.
My extdiff section looks like this: [extdiff] cmd.mydiff = wscript opts.mydiff = "c:\Program Files\TortoiseSVN\Diff-Scripts\diff-doc.js" This manages to open the current copy in the workspace with Word but cannot find the temporary copy of the last checked in version which mercurial presumably creates just for this purpose. More precisely: Diff-doc.js gives me the following failure message: "Error comparing hgtest.<generated id>\foo.doc and c:\hgtest\foo.doc" What am I missing? Thanks in advance Mark -----Ursprüngliche Nachricht----- Von: Steve Borho [mailto:st...@borho.org] Gesendet: Donnerstag, 16. Juli 2009 17:22 An: bardy Cc: tortoisehg-discuss@lists.sourceforge.net Betreff: Re: [thg] show difference with different tool based on file extentions ? On Thu, Jul 16, 2009 at 4:22 AM, bardy<bard...@gmail.com> wrote: > Can I define several vdiff tool and when I click "Show diff" it auto > select different diff tool based on file extentions ? Not yet. If I have time, I would like to add this in 0.9. > 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. In the short term, if you add your tool as a separate extdiff command, you can manually select the diff tool for each file that you diff, so long as you don't bypass the visual diff dialog. Add something like the following to your user Mercurial.ini file. [extdiff] docdiff = C:\path\to\compareit -- Steve Borho ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Tortoisehg-discuss mailing list Tortoisehg-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss