mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
36b6b30e0d
Summary: We've had a few issues recently where clones failed because of unexpected config load ordering. The main problem is that we can't load repo configs until the repo is created and the .hg/hgrc created. This happened rather late in the process, for instance it happened after the source connection was created, so no repo-specific dynamicconfigs could affect the source connection. This diff moves the destination repo creation earlier in the clone process, which will load the appropriate dynamicconfigs before we connect to the clone source. This removes the last usage of applydynamicconfig, which will be deleted in the next diff. Reviewed By: quark-zju Differential Revision: D26676519 fbshipit-source-id: 9a0f0b2ac0d9f19b8bb6fbaf26b4a5e7fb803399 |
||
---|---|---|
.. | ||
contrib | ||
distutils_rust | ||
doc | ||
edenscm | ||
edenscmnative | ||
exec | ||
hgcache_size_logger | ||
i18n | ||
lib | ||
newdoc | ||
pystubs | ||
slides | ||
tests | ||
.editorconfig | ||
.flake8 | ||
.gitignore | ||
COPYING | ||
gen_version.py | ||
hgeditor | ||
Makefile | ||
README.rst | ||
setup3.py | ||
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.