This is an archive of the discontinued Mercurial Phabricator instance.

hg: pass command intents to repo/peer creation (API)
ClosedPublic

Authored by indygreg on Apr 14 2018, 8:21 PM.

Details

Summary

The previous commit introduced a mechanism to declare command intents.
This commit changes the repository and peer instantiation mechanism
so the intents are passed down to each repository and peer type so
they can do with them whatever they please.

Currently, nobody does anything with any intent.

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.Apr 14 2018, 8:21 PM
durin42 accepted this revision.Apr 16 2018, 6:51 PM
This revision is now accepted and ready to land.Apr 16 2018, 6:51 PM
This revision was automatically updated to reflect the committed changes.