mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 08:18:15 +03:00
2d7949f46d
Summary: Update hg_import_helper.py to parse the repository's .hg/hgrc file, but then create the repository object with a fresh UI object that has not parsed that config yet. This more closely mimic's the behavior of mercurial's dispatch code invoked when starting the `hg` command line. This behavior is required to ensure that secondary repository objects that get created end up with the correct configuration, and do not have settings from the original repository's hgrc file. The mercurial behavior of parsing the original repository's hgrc file twice dates back to rHG741f64dfc04d1. Reviewed By: quark-zju Differential Revision: D6909449 fbshipit-source-id: 85073ab6ade4ab70247d48bc670c9924e9e6841f |
||
---|---|---|
.. | ||
cli | ||
docs | ||
fs | ||
hooks | ||
integration | ||
py | ||
scripts | ||
third-party | ||
AUTODEPS | ||
DEFS |