A Scalable, User-Friendly Source Control System.
Go to file
Mason Malone 081f032818 subrepo: better error messages in _ensuregit
This patch improves the error messages raised when an OSError occurs, since
simply re-raising the exception can be both confusing and misleading. For
example, if "hg identify" is run inside a repository that contains a Git
subrepository and the git binary could not be found, it'll exit with the message
"abort: No such file or directory". That implies "identify" has a problem
reading the repository itself. There's no way for the user to know what the
real problem is unless they dive into the Mercurial source, which is what I
ended up doing after spending hours debugging errors while provisioning a VM
with Ansible (turns out I forgot to install Git on it).

Descriptive errors are especially important on Windows, since it's common for
Windows users to forget to set the "Path" system variable after installing Git.
2016-01-17 22:53:57 -05:00
contrib copyright: update to 2016 2016-01-21 21:15:52 +00:00
doc check-seclevel: use a context manager for file I/O 2016-01-12 14:28:16 -08:00
hgext rebase: restore help for rebase w/o args (issue5059) 2016-01-22 20:32:47 +00:00
i18n i18n: fix a test-gendoc.t failure 2016-01-14 10:31:06 -08:00
mercurial subrepo: better error messages in _ensuregit 2016-01-17 22:53:57 -05:00
tests run-tests: "fix" race condition in race condition fix 2016-01-22 11:00:13 -08:00
.hgignore tests: write recent run times to a file named tests/.testtimes 2016-01-04 21:54:44 -08:00
.hgsigs Added signature for changeset 908046639c50 2016-01-20 22:39:51 -06:00
CONTRIBUTORS Add note to CONTRIBUTORS file 2007-11-07 21:10:30 -06:00
COPYING COPYING: refresh with current address from fsf.org 2011-06-02 11:17:02 -05:00
hg hg: add support for HGUNICODEPEDANTRY environment variable 2014-06-23 09:33:07 -04:00
hgeditor spelling: trivial spell checking 2015-10-17 00:58:46 +02:00
hgweb.cgi urls: bulk-change primary website URLs 2015-09-30 15:43:49 -05:00
Makefile builddeb: read default distribution and codename from lsb_release 2015-11-25 18:07:33 +08:00
README urls: bulk-change primary website URLs 2015-09-30 15:43:49 -05:00
setup.py copyright: update to 2016 2016-01-21 21:15:52 +00:00

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.