( )⚙ D2998 infinitepush: add tests for `hg pull -r <rev>`

This is an archive of the discontinued Mercurial Phabricator instance.

infinitepush: add tests for `hg pull -r <rev>`
ClosedPublic

Authored by pulkit on Mar 31 2018, 7:11 AM.

Details

Summary

This patch adds test for hg pull -r <rev> when the infinitepush extension is
not present on the client side and the server by defaults pushes all the
incoming push to bundlestore.

As the tests show, if a the changeset was applied to the server, that can be
pulled, but if a changeset is in the bundlestore we cannot pull that yet. We
should support that.

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

pulkit created this revision.Mar 31 2018, 7:11 AM
indygreg accepted this revision.Mar 31 2018, 1:17 PM
indygreg added a subscriber: indygreg.

Oh, I assumed hg pull -r would magically work here. Boo. But at least we have test coverage for it now.

This revision is now accepted and ready to land.Mar 31 2018, 1:17 PM
This revision was automatically updated to reflect the committed changes.