This is an archive of the discontinued Mercurial Phabricator instance.

debugcommands: support for sending "batch" requests
ClosedPublic

Authored by indygreg on Feb 23 2018, 3:51 PM.

Details

Summary

Let's teach hg debugwireproto to send "batch" requests.

The easiest way to implement this was as a pair of instructions to
begin and end a batched operation. Otherwise, we would have to reinvent
the parsing wheel or factor out the parsing code.

To prove it works, we add a batched request to test-ssh-proto.t.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

indygreg created this revision.Feb 23 2018, 3:51 PM
indygreg updated this revision to Diff 6253.Mar 1 2018, 11:30 AM
durin42 accepted this revision.Mar 1 2018, 4:38 PM
This revision is now accepted and ready to land.Mar 1 2018, 4:38 PM
This revision was automatically updated to reflect the committed changes.