mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 00:14:35 +03:00
5d5c575139
Summary: This is part of the logic of remotenames. Unfortunately our production setup has some really annoying legacy code in multiple places that disables remotenames and do `rm .hg/bookmarks` manually. They should really enable remotenames and get rid of `rm .hg/bookmarks`. However that has complications. With recent changes, `.hg/bookmarks` is moved to `.hg/store/bookmarks` and later moved to `metalog`. That caused 10k+ bookmarks left in local bookmarks after clone (or pull). Writing remote bookmarks as local bookmarks makes no sense in modern setup. Therefore this diff adds a config option to disable such feature. The ideal state is the bookmark logic in exchange writes remotenames directly, instead of silently ignoring it. But that's a risky and larger change. My expectation is, the remotenames extension will be enabled and take care of the rest. The idea of not writing local bookmarks come from markbt. Reviewed By: DurhamG Differential Revision: D19148278 fbshipit-source-id: a03eac68378908586d6e6848ed43532c0aab06c3 |
||
---|---|---|
.. | ||
contrib | ||
distutils_rust | ||
doc | ||
edenscm | ||
edenscmnative | ||
exec | ||
i18n | ||
lib | ||
newdoc | ||
slides | ||
tests | ||
.editorconfig | ||
.flake8 | ||
.gitignore | ||
COPYING | ||
gen_version.py | ||
hgeditor | ||
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.