This is an archive of the discontinued Mercurial Phabricator instance.

localrepo: validate supported requirements in makelocalrepository()
ClosedPublic

Authored by indygreg on Sep 13 2018, 12:29 PM.

Details

Summary

This should be a glorified code move. I did take the opportunity to
refactor things. We now have a separate function for gathering
requirements and one for validating them.

I also mode cosmetic changes to the code, such as not using
abbreviations and using a set instead of list to model missing
requirements.

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.