On Thu, Jun 11, 2009 at 1:27 AM, Peer Sommerlund<[email protected]> wrote: > Hi developers > I use thg for tracking MS Word documents - and would like to use the > TortoiseSVN vb scripts for merging / diffing word documents. > The hg merge extension allows me to specify how merges should be done, but > how can I specify how diffs should be done? > After a quick dive into the thg code it seems like visual diffs is done via > a extdiff command named vdiff which is configured to kdiff3. > What would be the best way to get a file-extension sensitive diff tool? > - Do I have to write my own diff application, which does stuff similar to hg > MergeTool (picking a diff application)? > - Is it possible to write a mercurial extension that can be used? > - Should I patch tortoisehg visual diff code?
There's a open issues (158, 166) for leveraging the merge tool infrastructure for use by the visual diff tool. These didn't make it into 0.8, but I would like to do them for 0.9. If you want to take up this task, that would be great. In crew, if you define multiple extdiff commands the visual diff window will have a drop-box for you to chose the tool to use for each file you diff. So you can select the 'WordDiff' tool for your .doc files manually. -- Steve Borho ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Tortoisehg-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop
