A Scalable, User-Friendly Source Control System.
Go to file
Jun Wu e33d12fcb7 repo: implement headrevs and heads
Summary:
In a future change we want `heads()` to include working parents and bookmarks
unconditionally. That version of `heads()` needs to be used everywhere,
including legacy exchange logic using branchmap.

Since `changelog` does not have access to working copy parents or bookmarks,
let's implement the `heads` and `headrevs` APIs on the `repo` object instead.

The next diff will migrate users of `changelog.headrevs` to `repo.headrevs`.

Reviewed By: markbt

Differential Revision: D18366734

fbshipit-source-id: 8791aaa57efeb1c6d19d6a4502376aeb26832772
2019-11-07 10:52:14 -08:00
CMake eden: make eden build with Rust datapack 2019-10-09 13:03:59 -07:00
contrib update copyright statements in some additional files 2019-11-01 17:39:41 -07:00
distutils_rust update copyright statements in some additional files 2019-11-01 17:39:41 -07:00
doc update copyright statements in some additional files 2019-11-01 17:39:41 -07:00
edenscm repo: implement headrevs and heads 2019-11-07 10:52:14 -08:00
edenscmnative pyrevisionstore: add bindings for ContentStore and MetadataStore 2019-11-07 08:53:40 -08:00
exec rust: Fix all fbcode warnings 2019-11-07 09:30:43 -08:00
i18n update copyright statements in some additional files 2019-11-01 17:39:41 -07:00
lib rust: Fix all fbcode warnings 2019-11-07 09:30:43 -08:00
newdoc doc: update WritingNativeCommands 2019-08-28 19:26:28 -07:00
slides update copyright statements in some additional files 2019-11-01 17:39:41 -07:00
tests remotefilelog: move getancestors into remotefilelog 2019-11-07 08:53:37 -08: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 tests: convert test-hgsql-filenames.t 2019-10-02 10:12:18 -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
CMakeLists.txt update copyright statements in some additional files 2019-11-01 17:39:41 -07:00
COPYING COPYING: refresh with current address from fsf.org 2011-06-02 11:17:02 -05:00
gen_version.py update copyright statements in some additional files 2019-11-01 17:39:41 -07:00
hgeditor spelling: trivial spell checking 2015-10-17 00:58:46 +02:00
hgweb.cgi codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
Makefile update copyright statements in some additional files 2019-11-01 17:39:41 -07:00
README.rst doc: rename README to README.rst 2017-09-26 08:37:17 +02:00
setup.py update copyright statements in some additional files 2019-11-01 17:39:41 -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.