# HG changeset patch # User Boris Feld # Date 2017-07-10 22:59:23 # Node ID b1bc8cf3fea88fe1016404abbc005429599d6818 # Parent 3c20d7ef42e1ac4a537042439ce06c355caa3e33 convert: use the new 'phase.registernew' function diff --git a/hgext/convert/hg.py b/hgext/convert/hg.py --- a/hgext/convert/hg.py +++ b/hgext/convert/hg.py @@ -345,8 +345,8 @@ class mercurial_sink(common.converter_si if commit.rev != node: ctx = self.repo[node] if ctx.phase() < phases.draft: - phases.retractboundary(self.repo, tr, phases.draft, - [ctx.node()]) + phases.registernew(self.repo, tr, phases.draft, + [ctx.node()]) text = "(octopus merge fixup)\n" p2 = node