Page MenuHomePhabricator

infinitepush: fix tests
ClosedPublic

Authored by stash on Oct 24 2017, 12:28 PM.

Details

Reviewers
durham
Group Reviewers
Restricted Project
Commits
rFBHGX045a1bd0cbdb: infinitepush: fix tests
Summary

In 537de0b14030868e3e850ae388b08f88cabc88e8 upstream hg commit phase pushes
started to use separate bundle2 part. Because of that:

  1. pushkey hook is not called when updating phases.
  2. pushkey bundle2 part doesn't process phases anymore, 'phase-heads' part do

it instead.

It caused breakages in infinitepush, because phases handling is not skipped even during
infinitepush. This diff fixes it.

Test Plan

Run infinitepush tests

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

stash created this revision.Oct 24 2017, 12:28 PM
Herald added a reviewer: Restricted Project. · View Herald TranscriptOct 24 2017, 12:28 PM
durham accepted this revision.Oct 24 2017, 12:31 PM
This revision is now accepted and ready to land.Oct 24 2017, 12:31 PM
This revision was automatically updated to reflect the committed changes.