This is an archive of the discontinued Mercurial Phabricator instance.

shelve: use bundlerepo.instance() to construct a repo object
ClosedPublic

Authored by indygreg on Sep 12 2018, 10:02 PM.

Details

Summary

The instance() functions are preferred over cls.init for
creating repo instances. It doesn't really matter now. But future
commits will refactor the bundlerepository class in ways that will
cause the old way to break.

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 12 2018, 10:02 PM
This revision was automatically updated to reflect the committed changes.