Skip to content
Snippets Groups Projects
user avatar
Matt Harbison authored
In 7f8b7a060584, I quoted this to support python being installed to
"Program Files".  Even though the string passed to os.popen() is this:

    "c:/Python27/python.exe" -c "import mercurial; print (mercurial.__path__[0])"

... cmd.exe is trying to run this:

    'c:/Python27/python.exe" -c "import'

This caused test-hghave.t to fail, reporting 'unexpected mercurial lib: ""',
because the failed execution prints nothing to stdout.  Py3 fails as though it's
not quoted.  For whatever reason, print() shows up in the output when run with
py2, but not py3, so I'm having a hard time debugging this.  For now, let's fix
the buildbot.
38d51371
History

Mercurial
=========

Mercurial is a fast, easy to use, distributed revision control tool
for software developers.

Basic install::

$ make # see install targets
$ make install # do a system-wide install
$ hg debuginstall # sanity-check setup
$ hg # see help

Running without installing::

$ make local # build for inplace usage
$ ./hg --version # should show the latest version

See https://mercurial-scm.org/ for detailed installation
instructions, platform-specific notes, and Mercurial user information.