( )⚙ D3241 httppeer: only advertise partial-pull if capabilities are known

This is an archive of the discontinued Mercurial Phabricator instance.

httppeer: only advertise partial-pull if capabilities are known
ClosedPublic

Authored by indygreg on Apr 10 2018, 9:28 PM.

Details

Summary

We don't need to be advertising client protocol parameters as part
of the capabilities request during the handshake because nothing in
version 1 of the wire protocol will use this data. i.e. the
advertisement is wasteful.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

indygreg created this revision.Apr 10 2018, 9:28 PM
durin42 accepted this revision.Apr 11 2018, 12:51 PM
This revision is now accepted and ready to land.Apr 11 2018, 12:51 PM
This revision was automatically updated to reflect the committed changes.