This is an archive of the discontinued Mercurial Phabricator instance.

wireproto: only expose "between" to version 1 of wire protocols
ClosedPublic

Authored by indygreg on Mar 1 2018, 11:34 AM.

Details

Summary

We recently marked other legacy commands as only available to version 1
of the wire protocols. We held off marking "between" because it is
used as part of the SSH handshake.

Since SSH servers assume they are version 1 by default and the
"between" request that is issued as part of the version 2 handshake
is swallowed and not operated on, everything should "just work" if
"between" is not available to version 2.

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 1 2018, 11:34 AM
durin42 accepted this revision.Mar 2 2018, 7:15 PM
This revision is now accepted and ready to land.Mar 2 2018, 7:15 PM
This revision was automatically updated to reflect the committed changes.