This is an archive of the discontinued Mercurial Phabricator instance.

localrepo: move featuresetupfuncs out of localrepository class (API)
ClosedPublic

Authored by indygreg on Mar 21 2018, 8:12 PM.

Details

Summary

I want to establish an interface for local repositories.

featuresetupfuncs is a class attribute and is global/shared across all
localrepository instances. Let's move it to a module-level attribute
to clarify it isn't part of the local repository interface.

.. api::

localrepo.localrepository.featuresetupfuncs has been renamed to
localrepo.featuresetupfuncs.

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.Mar 21 2018, 8:12 PM
indygreg updated this revision to Diff 7240.Mar 22 2018, 12:09 AM
pulkit accepted this revision.Mar 28 2018, 6:04 AM
This revision was automatically updated to reflect the committed changes.