sapling/eden/scm/lib/dynamicconfig
Durham Goode 3fbb5de94a 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
2020-06-30 09:50:44 -07:00
..
src configs: apply remote configs during dynamic config generation 2020-06-30 09:50:44 -07:00
Cargo.toml configs: add an easy way to test config changes locally 2020-06-30 09:50:44 -07:00