RFC: Alternative for exemaker

Matt Mackall mpm at selenic.com
Wed Jun 27 11:30:16 CDT 2012


On Wed, 2012-06-27 at 10:48 +0200, Adrian Buehlmann wrote:
> On 2012-06-27 10:36, Adrian Buehlmann wrote:
> > On 2012-06-27 03:00, Matt Mackall wrote:
> >> On Sun, 2012-06-24 at 23:15 +0200, Adrian Buehlmann wrote:
> >>> On 2012-06-23 08:49, Adrian Buehlmann wrote:
> >>>> On 2012-06-22 23:55, Adrian Buehlmann wrote:
> >>>>> Perhaps I'll start doing that. From scratch. Of course heavily inspired
> >>>>> by exemaker.
> >>>>
> >>>> Done: https://bitbucket.org/abuehl/hgexe/src
> >>>>
> >>>> Python27 hg.exe's are at:
> >>>> https://bitbucket.org/abuehl/hgexe/downloads
> >>>
> >>> I've got now hg.exe's for Python 2.6 and 2.7 up there, each for x64 and x86.
> >>
> >> This is cool. I spent a while trying to get it to build with mingw and
> >> eventually got this command line to work:
> >>
> >> gcc -Ic:\python26\include hg.c -MD -Lc:\python26\libs -lpython26
> >> -lshlwapi -o hg.exe

Ok, tip now compiles cleanly with:

 gcc -Ic:\python26\include -Lc:\python26\libs -Lpython26 hg.c -o hg.exe

So I think this is now in a state where we should include it in our tree
(and possibly in our build process).

Can someone with an actual Windows box please do this benchmark of 'hg
version':

- startup time of py2exe variant
- startup time of .cmd variant
- startup time of hgexe variant

(You probably can't use --time for this purpose, though.)

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list