This is an archive of the discontinued Mercurial Phabricator instance.

localrepo: refactor `.hg/requires` reading logic in separate function
ClosedPublic

Authored by pulkit on Aug 7 2020, 8:44 AM.

Details

Summary

In an upcoming patch, we will be reusing this to read .hg/store/requires, so
let's separate it in a different function before.

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

pulkit created this revision.Aug 7 2020, 8:44 AM
pulkit retitled this revision from localrepo: refactor `.hg/requires` reading login in separate function to localrepo: refactor `.hg/requires` reading logic in separate function.Aug 7 2020, 8:49 AM
indygreg accepted this revision.Aug 8 2020, 1:04 PM
This revision is now accepted and ready to land.Aug 8 2020, 1:04 PM