mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
A Scalable, User-Friendly Source Control System.
34aebc68ca
Summary: This fixes an obvious mistake. It wasn't noticed because it's part of the last "cleanup" before landing the change. And it runs on a big repo which hides the problem. On smaller repos, changelog is inlined and clindex won't be used because the Rust index does not support inlined revlogs. `repo.updatecaches()` will raise `AttributeError` since the original `self.changelog.index` object does not have `updatecaches()`. In that case, it's obvious that we should not skip the original `repo.updatecaches()` call. The same applies to `repo.destorying()`. Since after the fix, tests are passing. Let's enable clindex by default. As explained above, clindex is not actually well exercised because of inlined revlog. We should probably special case changelog to be always non-inlined. That's probably a separate diff. Reviewed By: phillco Differential Revision: D6767200 fbshipit-source-id: c8432eec6c02c06c4d49c13df150e1b25bbaa1aa |
||
---|---|---|
.cargo | ||
contrib | ||
distutils_rust | ||
doc | ||
hgdemandimport | ||
hgext | ||
hgext3rd | ||
hgsubversion | ||
i18n | ||
lib | ||
lz4revlog | ||
mercurial | ||
tests | ||
.clang-format | ||
.editorconfig | ||
.hg-vendored-crates | ||
.hgignore | ||
.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.