On Fri, Jul 24, 2009 at 3:29 AM, Mads Kiilerich<m...@kiilerich.com> wrote:
> On 07/24/2009 10:06 AM, Andrew Mark (CR/AEA2) wrote:
>
> Hallo again guys,
>
> Sorry I'm beginning to sound like a broken record here, but I still have a
> problem with Visual Diff.
>
> I have installed 8.1
>
> I have the following in my Mercurial.ini
>
> <<<<<<<<<<<<<<<<<
> [extdiff]
> cmd.mydiff = wscript
> opts.mydiff = "c:\Program Files\TortoiseSVN\Diff-Scripts\diff-doc.js"
>>>>>>>>>>>>>>>>>>
>
> ... and when I now call the Visual Diff function from the menu I get the
> following behaviour:
>
> Dialog pops up but there is no sign of any temporary files anywhere.
>
> You can try to verify the problem at Mercurial level: Run "hg --debug
> mydiff".
>
> My guess would be that the diff script forks immediately and Mercurial thus
> cleans up the temporary files before the diff script can read them. You will
> need a non-forking diff script.

That shouldn't be a problem with TortoiseHg.  We create the temporary
files when we open the visual diff dialog, and don't delete them until
that dialog is closed.

I don't understand why it's not working, perhaps it's a path escaping problem.

--
Steve Borho

------------------------------------------------------------------------------
_______________________________________________
Tortoisehg-discuss mailing list
Tortoisehg-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

Reply via email to