> > 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
I did as you suggested - I changed MergeTools.rc to point to a simple batch
file that looks like:
copy %1 c:\tmp\1.%~x1
"c:\program files\tortoisehg\docdiff.exe" c:\tmp\1.%~x1 %2
The comparisons now work as expected, so looks like the identical filenames
were causing the problem.
Thanks,
Andy
_________________________________________________________________
Need a new place to live? Find it on Domain.com.au
http://clk.atdmt.com/NMN/go/157631292/direct/01/------------------------------------------------------------------------------
_______________________________________________
Tortoisehg-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss