HomePhabricator

infinitepush: fix tests

Authored by stash.

Description

infinitepush: fix tests

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

Differential Revision: https://phab.mercurial-scm.org/D1225

Details

Committed
stashOct 24 2017, 12:33 PM
Differential Revision
D1225: infinitepush: fix tests
Parents
rFBHGXb357940aace0: tests: fix fastmanifest tests
Branches
Unknown
Tags
Unknown