( )⚙ D10668 config: add --source option to include source of value

This is an archive of the discontinued Mercurial Phabricator instance.

config: add --source option to include source of value
ClosedPublic

Authored by martinvonz on May 4 2021, 12:22 PM.

Details

Summary

Showing the source of each config option is quite useful and not
something the user should have to reach for the --debug flag for.

I updates documentation and tests, except for one place in
test-hgrc.t where I thought the test might have been intended to
also test that --debug results in ui.quiet etc being test.

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

martinvonz created this revision.May 4 2021, 12:22 PM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.