mirror of
https://github.com/facebook/sapling.git
synced 2024-10-12 01:39:21 +03:00
A Scalable, User-Friendly Source Control System.
4ff77abfa6
Summary: When called with any matcher parameters, `hg revert` would first walk both the working directory and the commit in question to find all files that match the pattern. Only after it found all matching files did it check to see which ones actually need updating. This made revert performance `O(matched files)` rather than `O(files needing revert)`. This makes operations like `hg revert large_directory` quite expensive, especially when only a handful of files need to be updated. This should help address the performance of `hg revert .`, which previously was much slower than `hg revert --all`. Previously it enumerated every file in the repository twice (once in the working directory and once in the current commit) before checking which ones needed reverting. This should also help fix the performance of `hg revert <directory>` in Eden as well. Reviewed By: quark-zju Differential Revision: D8217972 fbshipit-source-id: c18e72c8a5ed0b4c3a5ed69e79f6a88d3ea04a9f |
||
---|---|---|
.cargo | ||
contrib | ||
distutils_rust | ||
doc | ||
exec/scm_daemon | ||
hgdemandimport | ||
hgext | ||
hgext3rd | ||
hgsubversion | ||
i18n | ||
lib | ||
lz4revlog | ||
mercurial | ||
tests | ||
.editorconfig | ||
.flake8 | ||
.gitignore | ||
.hg-vendored-crates | ||
.hgsigs | ||
.jshintrc | ||
.watchmanconfig | ||
CONTRIBUTING | ||
CONTRIBUTORS | ||
COPYING | ||
hg | ||
hgeditor | ||
hgweb.cgi | ||
Makefile | ||
README.rst | ||
setup.py |
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.