( )⚙ D10186 rhg: Add environment variables for fallback configuration

This is an archive of the discontinued Mercurial Phabricator instance.

rhg: Add environment variables for fallback configuration
ClosedPublic

Authored by SimonSapin on Mar 12 2021, 5:06 PM.

Details

Summary

For the rust-tests.py --rhg we want every hg command in tests
to run rhg with fallback enabled, but other methods of setting
configuration are limited or disruptive as discussed in code comment.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

SimonSapin created this revision.Mar 12 2021, 5:06 PM
marmoute accepted this revision.Mar 15 2021, 5:32 AM
marmoute added a subscriber: marmoute.

(should we document these somewhere?)

Yes, absolutely. The new configuration keys and their values too. However this is split between several patches that I feel are not quite settled yet, so it’ll be easier to start writing docs after this patch series has been merged.

This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.