Ramakrishnan, Let me know if you’re still getting mk stage errors.
You should be able to use the latest hg (2.9.1) if you grab the source release (http://mercurial.selenic.com/release/mercurial-2.9.1.tar.gz). Just note that the following patch-diff has never been accepted for some reason. -jas % hg diff diff -r ca387377df7a setup.py --- a/setup.py Wed Jan 01 21:46:03 2014 -0600 +++ b/setup.py Thu Jan 02 19:47:36 2014 -0600 @@ -129,7 +129,7 @@ py2exeloaded = False def runcmd(cmd, env): - if sys.platform == 'plan9': + if sys.platform == 'plan9' and (sys.version_info[0] == 2 and sys.version_info[1] < 7): # subprocess kludge to work around issues in half-baked Python # ports, notably bichued/python: _, out, err = os.popen3(cmd)
