make it runnable on Linux


I have been trying to use it on Linux and I somehow made it to work (at least partially).

Here are the changes I needed to make it.

1) It expects “hg.exe” but it has to be changed to use “hg”, platform dependent.
2) It expects “;” as PATH separator, need to change to “:”, platform dependent.

Here is a patch to fix those issues: https://dl.dropbox.com/u/493047/2012/07/use-platform-neutral-path.patch

3) It doesn’t expect that LANGUAGE and HGENCODING does not exist in the default environment variable and always “adds” them, causing InvalidOperationException whenever they already exist. Use setter indexer instead.

Here is a patch to fix this: https://dl.dropbox.com/u/493047/2012/07/env-vars-might-already-exist.patch

4) It uses “style=XML” which is not acceptable on Linux or hg 2.2.3. Use “style=xml” instead.

Fix for this: https://dl.dropbox.com/u/493047/2012/07/use-lowercase-style-arg.patch

With those fixes I could get it running, as in monodevelop addin form. For your eye candy ;-)


lassevk wrote Feb 18, 2013 at 3:44 PM


I will look closely through your patches and see what I can use.

I have plans to make Mercurial.Net compile and run on Mono so these patches will come in handy.

The project has unfortunately fallen a bit by the wayside for me, but I'm picking up development again these days so hopefully it won't take too long until I can release a new version.