mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 16:31:02 +03:00
A Scalable, User-Friendly Source Control System.
b6bdd61b72
Summary: When appending to the dirstate tree file, treedirstate flushes all data, and then calls `sync_data` to ensure the data has made it to the disk. This ought to be sufficient, as the data won't be used until the dirstate file has been updated to include the new root, which happens via atomic rename later on. We've seen some cases where the dirstate file contains an invalid root id. Attempt to mitigate this by syncing all data when we flush the dirstate. There is a performance penalty to this, but it shouldn't be too much. Differential Revision: D7599547 fbshipit-source-id: 9d55b80d04833d2a73f058487a62eab2da802214 |
||
---|---|---|
.cargo | ||
contrib | ||
distutils_rust | ||
doc | ||
hgdemandimport | ||
hgext | ||
hgext3rd | ||
hgsubversion | ||
i18n | ||
lib | ||
lz4revlog | ||
mercurial | ||
tests | ||
.clang-format | ||
.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.