External merge/diff tools are not detected under Windows Server 2003 x64
Mads Kiilerich
mads at kiilerich.com
Fri Aug 27 08:42:31 UTC 2010
On 08/27/2010 09:07 AM, Didly Bom wrote:
> I have recently installed TortoiseHg 1.1.2 on a Windows Server 2003 x64
> SP2 machine (Spanish version). In this machine, TortoiseHg seems to not
> detect any of the external merge tools which were already installed
> (WinMerge) nor kdiff3.
>
>
> Perhaps this problem may be related to the fact that these tools (and
> TortoiseHg) are not installed under the "Program Files" folder (named
> "c:\Archivos de Programa" in Spanish) but on the x86 "Program Files"
> folder (named "c:\Archivos de Programa (x86)")?
>
>
> I tried hand editing the "hgrc.d/MergeTools.rc" file, adding the
> following entry to the kdiff3 section:
>
> kdiff3.executable=c:/Archivos de Programa (x86)/TortoiseHg/kdiff3.exe
>
> But it did not work. I tried changing "/" by "\" and also escaping the
> spaces but it did not work either. I also tried commenting the
> "kdiff3.regappend" line but it also did not work either.
>
>
> I created an issue report for this problem on the TortoiseHg issue
> tracker but I was told that this is probably a problem with mercurial
> itself and that it may be a problem with "an encoding mismatch between
> Mercurial, your hgrc file, and the Windows registry. This detection code
> is internal to Mercurial."
>
>
> Please let me know if there is some additional information that I can
> give you guys to try to narrow down the problem.
Try to run "hg showconfig" (and perhaps --debug) and see it it matches
what you have configured.
Try to cut'n'paste the path from the console and verify that it can be
executed.
It seems like you have done several experiments and might have left
things in an unknown state. Consider uninstalling TortoiseHg and
Mercurial, clean up, and install again.
> P.S.- What is the right mailing list to report these sort of problems?
> mercurial or mercurial-devel?
Yes, it is fine.
/Mads
More information about the Mercurial
mailing list