Hackable Mercurial: linker_exe and no-cygwin

Matt Mackall mpm at selenic.com
Thu Jun 7 18:42:25 CDT 2012


On Fri, 2012-06-08 at 02:07 +0300, Eduard-Cristian Stefan wrote:
> > Or do like the wiki page says and simply rename 'hg' to 'hg.py'
> >  - inconvenient but working.
> 
> Or copy 'hg' to 'hg.py', add exemaker, and remove
> the .py file type association to get rid of the surprises.
> This way 'hg' script will be used inside the tests,
> and 'hg.exe' will be used by the hooks.

Note that the rename is admittedly ugly and simply there to make
exemaker happy. Hackable uses exemaker to get behavior more like
our /usr/bin/hg behavior without the py2exe (need rebuild after edit)
and hg.bat (need to 'call' from cmd scripts, starts subprocess)
drawbacks.

But we have already forked exemaker:

https://bitbucket.org/timeless/exemaker/overview

..so we can easily teach it to not need a .py file too.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list