This is an archive of the discontinued Mercurial Phabricator instance.

tree: adds test for pushing a treeonly manifest to a hybrid server
ClosedPublic

Authored by durham on Aug 30 2017, 2:00 PM.
Tags
None
Subscribers
None

Details

Summary

This adds a test that pushes a treeonly commit from a treeonly client to a
hybrid server, and verifies the result is written to the server flat and tree
manifests. Also tests that hooks can access the tree data.

This also changes the server to read the treemanifest if a tree was provided in
the bundle. Previously the server would only read trees if the forcereceivetrees
flag was on, which meant we couldn't accept flat and trees at the same time,
which made migrating harder.

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.Aug 30 2017, 2:00 PM
Herald added a reviewer: Restricted Project. · View Herald TranscriptAug 30 2017, 2:00 PM
simonfar accepted this revision.Aug 31 2017, 7:33 AM
This revision is now accepted and ready to land.Aug 31 2017, 7:33 AM
This revision was automatically updated to reflect the committed changes.