This is an archive of the discontinued Mercurial Phabricator instance.

wireproto: properly call clonebundles command
ClosedPublic

Authored by indygreg on Apr 13 2018, 3:14 PM.

Details

Summary

We should not be using _call() to make wire protocol calls because
it isn't part of the peer API.

But clonebundles wasn't part of the supported commands in the
peer API!

So this commit defines that command in the commands interface,
implements it, and teaches the one caller in core to call it using
the command executor interface.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

indygreg created this revision.Apr 13 2018, 3:14 PM
durin42 accepted this revision.Apr 13 2018, 5:59 PM
This revision is now accepted and ready to land.Apr 13 2018, 5:59 PM
This revision was automatically updated to reflect the committed changes.