x64 hg.exe

Adrian Buehlmann adrian at cadifra.com
Fri Jun 22 04:30:31 CDT 2012


On 2012-06-22 03:42, Adrian Buehlmann wrote:
> Copy the hg file to hg.py, replace the first line with
> 
>   #!C:\Windows\system32\python27.dll
> 
> (for a global installed Python 2.7)
> 

The hg file (mercurials python script in the repo root) needs to be
*renamed* to hg.py (not copied), otherwise the suite (MSYS shell) will
prefer the hg over the hg.exe for most of the calls in the tests, which
works because of the

  #!/usr/bin/env python

on the first line of the hg file (after all, python is in on PATH and
there is a env.exe in C:\MinGW\msys\1.0\bin, which is on PATH as well).


More information about the Mercurial-devel mailing list