mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
2da121cb60
Summary: This threads the calls to load_dynamic and load_repo through the Rust layer up to the Python bindings. This diff does 2 notable things: 1. It adds a reload API for reloading configs in place, versus creating a new one. This will be used in localrepo.__init__ to construct a new config for the repo while still maintaining the old pinned values from the copied ui. 2. It threads a repo path and readonly config list from Python down to the Rust code. This allows load_dynamic and load_repo to operate on the repo path, and allows the readonly filter to applied to all configs during reloading. Reviewed By: quark-zju Differential Revision: D22712623 fbshipit-source-id: a0f372f4971c5feac2f20e89a0fb3fe6d4a65d6f |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |