This is an archive of the discontinued Mercurial Phabricator instance.

infinitepush: send treepack parts with the client push
ClosedPublic

Authored by durham on Oct 11 2017, 7:59 PM.
Tags
None
Subscribers
None

Details

Reviewers
phillco
Group Reviewers
Restricted Project
Commits
rFBHGXd3cd9d8a1443: infinitepush: send treepack parts with the client push
Summary

This makes the client side pushes also include tree packs in the push.

Also adds a test to see that the tree parts round trip between two tree-only
clients.

This was reverted in D921 because clients couldn't push old non-tree commits to
infinitepush anymore. I've fixed the issue and added a test to this commit.

Diff Detail

Repository
rFBHGX Facebook Mercurial Extensions
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

durham created this revision.Oct 11 2017, 7:59 PM
Herald added a reviewer: Restricted Project. · View Herald TranscriptOct 11 2017, 7:59 PM
durham planned changes to this revision.Oct 11 2017, 8:06 PM

I've found a bug.

durham updated this revision to Diff 3162.Oct 30 2017, 7:25 PM
durham added a comment.Nov 1 2017, 7:03 PM

The bug is fixed. This is ready for review

phillco accepted this revision.Nov 1 2017, 7:07 PM
This revision is now accepted and ready to land.Nov 1 2017, 7:07 PM
This revision was automatically updated to reflect the committed changes.