tags:

views:

327

answers:

2

I want to create a .NET client for mercurial. Nothing fancy, just the basic stuff.

+2  A: 

The question isn't identical, but the top answer applies just as well to your situation: Mercurial API for Java?.

Basically I think you'll probably just need to call the command-line functions. The official API seems to be for Python only.

Chad Birch
Can it integrate with IronPython though?
George Mauer
Well, it's possible to run in pure python, so it could be IronPython compatible. I suppose it would be a nice hack to iron out (;-P) any incompatibilities.
Marcus Lindblom
+1  A: 

Like Chad says, use the command line. That is the official API. We go to great lengths to keep it stable in order to make it easy for scripts and programs to parse its output.

See the compatibility rules for the details about how we try to ensure backwards compatibility and thus make it easy for programs to use Mercurial.

Martin Geisler