mirror of
https://github.com/facebook/sapling.git
synced 2024-10-12 01:39:21 +03:00
A Scalable, User-Friendly Source Control System.
40301faa80
Summary: The test reveals some copy handling issues in treestate: - copyfile can be called to override a previous copyfile source information. - drop or remove file should reset the file's copy information. I hope we'll clean up dirstate. The main problem of it is the "setparents" API, it changes the parents directly, leaving it to the caller to make sure the rest of the dirstate is in sync with repo and filesystem state. And it's super unclear what the callers are supposed to do exactly in these cases. Ideally there is no "setparents" API on dirstate or the repo object. The low-level building blocks (merge or clean update) would make sure the tree is in a consistent state and nobody else (esp. rebase) can ever change dirstate parents directly. Reviewed By: DurhamG Differential Revision: D8869842 fbshipit-source-id: b7882dfe60508fa6bbcfb99e30e507dc297a1d83 |
||
---|---|---|
contrib | ||
distutils_rust | ||
doc | ||
exec/scm_daemon | ||
hgdemandimport | ||
hgext | ||
hgext3rd | ||
i18n | ||
lib | ||
mercurial | ||
tests | ||
.editorconfig | ||
.flake8 | ||
.gitignore | ||
.hg-vendored-crates | ||
.hgsigs | ||
.jshintrc | ||
.watchmanconfig | ||
CONTRIBUTING | ||
CONTRIBUTORS | ||
COPYING | ||
gen_version.py | ||
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.