This is an archive of the discontinued Mercurial Phabricator instance.

localrepo: pass ui to newreporequirements()
ClosedPublic

Authored by indygreg on Sep 11 2018, 8:27 PM.

Details

Summary

newreporequirements() is called as part of creating a new repository.
It doesn't make much sense for it to receive a repo instance as part
of determining what requirements for new repos should be.

.. api::

localrepo.newreporequirements() receives a ui instead of a repo

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

indygreg created this revision.Sep 11 2018, 8:27 PM
pulkit accepted this revision.Sep 12 2018, 7:53 AM
This revision was automatically updated to reflect the committed changes.