Mercurial in pure Java

Tom Widmer tom.widmer at googlemail.com
Fri Oct 2 07:59:21 CDT 2009


Remy Blank wrote:
> Theodore Tso wrote:
>> So I wouldn't be too quick to rule out having a Eclipse plugin,
>> written in Java, call out to Python-based Mercurial cli.
> 
> And if the CLI is not good enough, write a GPL-2 plugin for Mercurial
> that provides an RPC interface to the Mercurial code through
> stdin/stdout or a socket, and use that interface from your Eclipse plugin.
> 
> It still requires Python to run, though.

That's probably the way to go. No licencing issues since all code that 
is a derivative work of Mercurial is GPLed, and you just need the user 
to do the 'obvious' thing of installing Mercurial separately, which 
they'd probably do anyway.

That's also quite likely to be the most performant approach without a 
lot of work.

Tom



More information about the Mercurial mailing list