mirror of
https://github.com/facebook/sapling.git
synced 2025-01-07 14:10:42 +03:00
configs: add an easy way to test config changes locally
Summary: The HG_TEST_REMOTE_CONFIG environment variable was added to allow tests to declare custom remote config values, but we can also use it to make canarying easier. With this change, users can do `HG_TEST_REMOTE_CONFIG=configerator hg debugdynamicconfig` to test a change, after running arc build in their configerator. We might want to simplify this further in the future to some sort of hidden dev command line flag, like `hg debugdynamicconfig --canary-remote` Reviewed By: quark-zju Differential Revision: D22081459 fbshipit-source-id: 07977097347af9d5872402beeda0ed9160176e7e
This commit is contained in:
parent
ee51bf871f
commit
3fbb5de94a
@ -15,6 +15,7 @@ serde_json = "1.0"
|
||||
sha2 = "0.8"
|
||||
thrift-types = { path = "../thrift-types" }
|
||||
types = { path = "../types" }
|
||||
util = { path = "../util" }
|
||||
|
||||
[dev-dependencies]
|
||||
tempfile = "3.1"
|
||||
|
Loading…
Reference in New Issue
Block a user