mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 09:17:30 +03:00
ee754d941a
Summary: Our codebase is already unfriendly to 3rd-party extensions and we will likely break the compatibility as part of revisising / replacing components in Rust anyway. So just stop supporting `--config extensions.3rdpartyfoo=`. Note `--config extensions.3rdpartyfoo=foo.py` still works. This also makes `ImportError` more meaningful. Previously, when `hgext.foo` imports `bar` which does not exist, the error is "cannot import foo", while it should really be "cannot import bar". That is because extensions.py falls back to import `hgext3rd.foo`, and `foo`. Now extensions.py only tries `hgext.foo` and will suface the right error. Reviewed By: DurhamG Differential Revision: D13440400 fbshipit-source-id: c659f6d05abbc0d09f2811f36c0dc31e49491f19 |
||
---|---|---|
.. | ||
exchange-obsmarker-util.sh | ||
ext-phase-report.py | ||
obsmarker-common.sh | ||
push-checkheads-util.sh |