Hackable Mercurial Can't Find os Module

Jensen, Aaron ajensen at webmd.net
Wed Aug 26 23:08:42 UTC 2015


> Perhaps the commit message of 93d97a212559 might be helpful when investigating your problem:
> 
>  https://selenic.com/hg/rev/93d97a212559

It looks like the code is looking for a PYTHONHOME environment variable. Once I added that environment variable pointing to the hg-python26 directory, hackable Mercurial is working. I've updated the Hackable Mercurial for Windows wiki page [1].

In summary, to get hackable Mercurial for Windows working, I had to:

 1. Add the path to the package's hg-python26 directory to my PATH.
 2. Create a PYTHONHOME environment variable, set to the full path to the package's hg-python26 directory.


[1] https://mercurial.selenic.com/wiki/HackableMercurial


More information about the Mercurial mailing list