Mercurial on IronPython?

Chuck.Kirschman at Chuck.Kirschman at
Sat Mar 22 13:48:07 CDT 2008

I've done a couple ports of smaller internal projects from C python to IronPython.  Any win32 calls need to be ported to .NET, some libraries don't exist, and process doesn't work the same way so that may be an issue.  There are also some bugs in IPy that we encountered, though most of those were fixed once we reported them.  But the big problem is startup speed.  Hg is started often, and you want the results quickly.  You'll be adding 10-30 seconds to every invocation to get the whole VM up and run through byte codes.  Once it's all running performance seems to be roughly equivalent, so it wasn't a problem for our long-running processes.


-----Original Message-----
From: mercurial-bounces at [mailto:mercurial-bounces at] On Behalf Of Tim Groeneveld
Sent: Friday, March 21, 2008 8:49 PM
To: mercurial at
Subject: Re: Mercurial on IronPython?

On Saturday 22 March 2008 5:35:01 am Jay Kint wrote:
> I'm wondering if anyone has done such a thing?  I thought about taking
> a stab at it, but I'm not sure how hard it would be.  If anyone else
> has already done some work with it, I'd be happy to help.

Well, I have not done such a thing, but I would like to give my support to 
you. I really do like the abilities that .NET provides.

I am not sure, but wouldn't writting a DLL with IronPython mean that you can 
use that DLL in VB.NET and C#?

Well, at least you will be able to use one .exe for Windows, Linux and OS X 

Keep me updated Jay,
   - Tim G

More information about the Mercurial mailing list