Andy Stone <andrewmatthewstone@...> writes:

> 
> 
> > > 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
>  Find it on Domain.com.au Need a new place to live?
> 
> 
> ------------------------------------------------------------------------------
> Can you detail on where to add this code i am also facing same problem

 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
>  
> 
> 
> _______________________________________________
> Tortoisehg-discuss mailing list
> Tortoisehg-discuss@...
> https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss
> 




------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Tortoisehg-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

Reply via email to