A Scalable, User-Friendly Source Control System.
Go to file
Mark Thomas 85b6bf53ff remotefilelog: speed up resolvefilenames
Summary:
The basestore resolvefilenames method is used to do a reverse lookup from
filename sha to filename.  Sadly this information isn't stored anywhere, so we
must search through the changelog and manifest for it.

The manifest and full changelog is too large to search in large repos,
especially when some files may not even exist there.  Only search draft commits
and the last 250,000 commits in the changelog.  If we don't find it there, we
give up.  In this case, repack will leave the file loose.

Reviewed By: DurhamG

Differential Revision: D10516853

fbshipit-source-id: 5e0e60d47b18e34ef9d692524e29b13392da8952
2018-10-26 01:16:13 -07:00
contrib progress: use Condition backed by Rust 2018-10-25 13:12:00 -07:00
distutils_rust distutils_rust: add support for features 2018-10-12 14:55:09 -07:00
doc amend: replace with the fbamend extension 2018-10-11 06:59:23 -07:00
exec hgpython: rename hgenv to be buildenv 2018-10-12 14:55:09 -07:00
hgdemandimport hg.rust: add py logic to support running from a zipped stdlib 2018-10-12 14:55:09 -07:00
hgext remotefilelog: speed up resolvefilenames 2018-10-26 01:16:13 -07:00
hgext3rd codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
i18n help: improve some help messages 2018-10-15 09:37:19 -07:00
lib histpack: sort history entries before writing them 2018-10-23 17:16:01 -07:00
mercurial commands: rename hg grep to hg histgrep 2018-10-25 14:54:22 -07:00
newdoc doc: add QuickStart 2018-10-24 18:59:14 -07:00
slides slides: add indexedlog slide 2018-08-13 15:06:58 -07:00
tests tests: fix test-commandserver 2018-10-25 18:06:09 -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 make: improve windows make logic 2018-10-12 14:55:09 -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 to more fine-grained python execution from the binary 2018-08-30 04:42:11 -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 build: cleanup old windows build code 2018-10-16 08:37:23 -07:00
README.rst doc: rename README to README.rst 2017-09-26 08:37:17 +02:00
setup.py rust: reinvent Python's threading.Condition 2018-10-25 13:12:00 -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.