( )⚙ D1251 pushrebase: fix support for tree manifests

This is an archive of the discontinued Mercurial Phabricator instance.

pushrebase: fix support for tree manifests
ClosedPublic

Authored by durham on Oct 26 2017, 5:29 PM.
Tags
None
Subscribers
None

Details

Reviewers
None
Group Reviewers
Restricted Project
Commits
rFBHGX02589ce17b2c: pushrebase: fix support for tree manifests
Summary

pushrebase can't use the standard rev.manifest() or rev[filepath] accessors
because they aren't aware of treemanifests. Let's refactor our manifest and
filectx accessor patterns into a separate function and use it in the two places
that need manifests.

test-treemanifest-server.t was failing before this. One test was modified
because the does-it-have-the-tree check is now done earlier, before the lock is
taken, so we abort before the output is printed.

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 26 2017, 5:29 PM
Herald added a reviewer: Restricted Project. · View Herald TranscriptOct 26 2017, 5:29 PM
This revision was automatically updated to reflect the committed changes.