Mercurial on IronPython?

Paul Franz theandromedan at gmail.com
Sat Mar 22 15:22:22 CDT 2008


Could an interactive shell be added to Hg? Something along the lines of 
ClearCase's cleartool command. When you invocate cleartool without 
parameters it becomes a shell that you can invoke individual ClearCase 
commands in addition to some rudimentary shell commands like "cd" and such.

Paul Franz

Chuck.Kirschman at bentley.com wrote:
> 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.
>
> chuck
>  
>
> -----Original Message-----
> From: mercurial-bounces at selenic.com [mailto:mercurial-bounces at selenic.com] On Behalf Of Tim Groeneveld
> Sent: Friday, March 21, 2008 8:49 PM
> To: mercurial at selenic.com
> 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 
> \o/
>
> Keep me updated Jay,
>    - Tim G
> www.sharesource.org
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>   


More information about the Mercurial mailing list