HomePhorge

Support Mercurial "protocaps" wire command

Description

Support Mercurial "protocaps" wire command

Summary:
Ref T13187. See PHI834. Mercurial has somewhat-recently (changeset is from Jan 2018) introduced a new "protocaps" command, that appears in Mercurial 4.7 and possibly before then.

We must explicitly enumerate all protocol commands because you can't decode the protocol without knowing how many arguments the command expects, so enumerate it.

(Also fix an issue where the related error message had an extra apostrophe.)

Test Plan:

  • Ran hg clone ... with client and server on Mercurial 4.7.
  • Before: fatal on unknown "protocaps" command.
  • Midway: better typography in error message.
  • After: clean clone.

Reviewers: amckinley

Maniphest Tasks: T13187

Differential Revision: https://secure.phabricator.com/D19596

Details

Provenance
epriestleyAuthored on Aug 23 2018, 2:59 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP75a5dd8d8cc0: Add more accessibility labels for screen readers
Branches
Unknown
Tags
Unknown

Event Timeline