This is an archive of the discontinued Mercurial Phabricator instance.

config: read defaultrc/ using `resources` module if available
AbandonedPublic

Authored by martinvonz on Dec 12 2019, 6:44 PM.

Details

Reviewers
indygreg
Group Reviewers
hg-reviewers
Summary

Similar to an earlier patch for hg help. Here we also needed a way
of listing resources/files in a package/directory, so I added that to
the resourceutil module.

Tested by running $PYTHON ./hg config --debug for each $PYTHON in
{python2, python3.6, python3.7}.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage