HomePhabricator

pushrebase: handle pushing phases through separate bundle2 part

Authored by stash.

Description

pushrebase: handle pushing phases through separate bundle2 part

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 pushrebase. This diff fixes it.

Test Plan:
Run tests test-pushrebase* and test-treemanifest*

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

Details

Committed
stashOct 23 2017, 1:36 PM
Differential Revision
D1204: pushrebase: handle pushing phases through separate bundle2 part
Parents
rFBHGXb82c2a9890e5: tests: register some config options
Branches
Unknown
Tags
Unknown