[PATCH STABLE] exewrapper: adapt for legazy HackableMercurial

Adrian Buehlmann adrian at cadifra.com
Tue Jul 31 15:30:34 CDT 2012


On 2012-07-31 22:16, Adrian Buehlmann wrote:
> Note that this *still* requires pythonXX.dll next to the hg.exe in the root
> directory of HackableMercurial, or globally installed, for example, in
> C:/Windows/system32. exewrapper makes no attempt whatsoever to locate
> pythonXX.dll. It deliberately depends on standard Windows behavior for locating
> that dll.

Playing with this demonstrates that this is what bloats
HackableMercurial, as there needs to be a pythonXX.dll in both the root
directory of HackableMercurial (so hg.exe can find it), and in the
hg-python subdir (so the python.exe in hg-python can find it there).

Doing

http://mercurial.selenic.com/wiki/HackableMercurial?action=recall&rev=44#Build_hg-winhack

doesn't exhibit that duplication of the pythonXX.dll, as both hg.exe and
python.exe can share it in the root directory of HackableMercurial.

Obviously, there is no duplication of pythonXX.dll, if it is installed
globally (but that's not the domain of HackableMercurial).



More information about the Mercurial-devel mailing list