Page MenuHomePhabricator

infinitepush: consider hidden revisions when computing backedup state
ClosedPublic

Authored by mbthomas on Dec 7 2017, 5:53 AM.

Details

Summary

If a backup head is hidden (e.g. by rebase), then all its ancestor commits
appear as not-backed-up, even though they are.

Consider hidden commits as part of determining whether a revset is backed up or
not, and then filter out the hidden changesets afterwards.

Test Plan

Add a new test case.

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

mbthomas created this revision.Dec 7 2017, 5:53 AM
Herald added a reviewer: Restricted Project. · View Herald TranscriptDec 7 2017, 5:53 AM
stash accepted this revision.Dec 8 2017, 12:02 PM
This revision is now accepted and ready to land.Dec 8 2017, 12:02 PM
This revision was automatically updated to reflect the committed changes.