This is an archive of the discontinued Mercurial Phabricator instance.

httppeer: expose API descriptor on httpv2peer
ClosedPublic

Authored by indygreg on Oct 12 2018, 4:14 AM.

Details

Summary

The API descriptor in wireprotov2 is much more expressive than
space-delimited tokens and it will be difficult to define methods
to query it in all of the ways we'll want to query it. So let's
just declare defeat and expose the API descriptor on the peer
instance.

As part of this, we define a new interface for version 2 peers,
fulfilling a TODO in the process.

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.Oct 12 2018, 4:14 AM
This revision was automatically updated to reflect the committed changes.