This is an archive of the discontinued Mercurial Phabricator instance.

tests: make test-config-env.py a little less hacky
ClosedPublic

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

Details

Summary

Overriding os.path.isdir to always returns False is very
confusing. Let's make it more explicit by specifically not returning
any defaultrc/ configs.

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.Dec 12 2019, 6:44 PM
indygreg accepted this revision.Dec 14 2019, 7:34 PM
This revision is now accepted and ready to land.Dec 14 2019, 7:34 PM
This revision was automatically updated to reflect the committed changes.