On Tue, May 25, 2010 at 9:35 PM, Andy Stone <[email protected]> wrote: > Hi, > > I'm having a problem using DocDiff to compare changes to an Excel > spreadsheet. Instead of showing me the edited and unedited versions with > differences highlighted, Visual Diff/DocDiff is just showing me the unedited > version. > > To reproduce: > I make a change to the file then go to TortoiseHg->Visual Diff, click on the > file in the Visual Diffs dialogue box (DocDiff is automatically selected), > double click to open the file. Instead of seeing the two files open with > differences highlighted, it just opens the old (unedited) version of the > spreadsheet. > > If I run DocDiff from the commandline passing it two spreadsheets with the > same filename then it does the same thing, i.e. just shows me just one of > them. If I give it two differently named spreadsheets then it works as > expected. So maybe this is happening because Excel cannot open two files > with the same name, and both the working file and the temporary file created > by Visual Diff have the same file name...?
Sounds like a good guess. Could you try wrapping docdiff with a batch file that renames one of the file arguments? If that works, I can think of ways of implementing this inside the script itself. -- Steve Borho ------------------------------------------------------------------------------ _______________________________________________ Tortoisehg-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

