A Scalable, User-Friendly Source Control System.
Go to file
Jun Wu 98c4b5d665 debugcommands: add a "debugprocesstree" command
Summary:
Recently there are a trend of questions about repo being locked. People usually
don't have enough debugging skills to find out what's going on. So let's add a
debug command to help them.

The implementation uses `osqueryi`, which perfectly solves the cross-platform
process handling headache. Note the well-known `psutil` Python library does not
seem to provide parent process information on Windows.

The `_rapply` function was backported from upstream mercurial.

Reviewed By: markbt

Differential Revision: D9443601

fbshipit-source-id: d26b3adfde1045ebd5bca1c6b1c93f0db147f9b0
2018-08-22 21:35:19 -07:00
contrib hg: make contrib/perf.py use correct cmd determination logic 2018-08-17 10:51:47 -07:00
distutils_rust hg.rust: add support for rust binary in setup.py and make local 2018-08-17 10:51:47 -07:00
doc Update to 18.6b1 2018-06-05 22:19:55 -07:00
exec hgmain: implement a binary entry point for Mercurial 2018-08-17 10:51:47 -07:00
hgdemandimport Fix conflict with RLock 2018-07-25 10:21:05 -07:00
hgext hg: rename pathencoding into encoding 2018-08-22 09:06:20 -07:00
hgext3rd codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
i18n Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
lib hg: add some platform-specific tests for encoding crate 2018-08-22 09:06:22 -07:00
mercurial debugcommands: add a "debugprocesstree" command 2018-08-22 21:35:19 -07:00
slides slides: add indexedlog slide 2018-08-13 15:06:58 -07:00
tests debugcommands: add a "debugprocesstree" command 2018-08-22 21:35:19 -07:00
.editorconfig move scm/hg/.clang-format to scm/hg/mercurial/ 2018-05-25 14:35:51 -07:00
.flake8 codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
.gitignore hg: add comprehensive/.testtimes to .gitignore 2018-08-21 10:05:49 -07:00
.hgsigs Added signature for changeset f51ae48a3fd9 2017-12-01 13:49:47 -06:00
.jshintrc hgweb: add .jshintrc with some basic rules 2017-11-22 22:18:06 +08:00
.watchmanconfig watchman: add an empty .watchmanconfig 2018-04-13 21:50:54 -07:00
CONTRIBUTING contributing: add new file with a pointer to the wiki 2016-10-08 10:39:00 -04: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
gen_version.py generate __version__.py during the buck build 2018-06-25 15:52:25 -07:00
hg hg: move hg entrypoint to the mercurial dir 2018-08-17 10:51:47 -07: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 hg.rust: add support for rust binary in setup.py and make local 2018-08-17 10:51:47 -07:00
README.rst doc: rename README to README.rst 2017-09-26 08:37:17 +02:00
setup.py hg.rust: add support for rust binary in setup.py and make local 2018-08-17 10:51:47 -07: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.