This is an archive of the discontinued Mercurial Phabricator instance.

wireproto: make @wireprotocommand version 1 only by default
ClosedPublic

Authored by indygreg on Apr 9 2018, 2:58 PM.

Details

Summary

For backwards compatibility reasons. We want extension provided
commands to opt in to version 2 rather than get inherited
automatically. This will facilitate a clean break between the
protocols.

As part of this, we duplicate some commands used in tests so
there are different command handlers per transport.

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 9 2018, 2:58 PM
durin42 accepted this revision.Apr 9 2018, 6:29 PM
This revision is now accepted and ready to land.Apr 9 2018, 6:29 PM
This revision was automatically updated to reflect the committed changes.