On Thu, Jul 16, 2009 at 11:01 AM, Andrew Mark (CR/AEA2)<[email protected]> wrote: > 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"
If you're using straight extdiff, you're probably being bitten by process forking. Extdiff creates the temporary files, launches your app, waits for the app to exit, then deletes the temporary files. If you app forks a background process and exits, there will be a race between the background app reading the temporary files before extdiff deletes them. This is one of the (many) reasons I added the visual diff dialog in 0.8. It waits until you close the dialog to delete the temporary files. So your diff tool can do as it likes. -- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

