# HG changeset patch # User Phil Cohen # Date 2017-12-08 00:07:06 # Node ID 2bac2d836ce004c69e1dabab78bd086111586f48 # Parent 5c25fe7fb1e63a31ed082dfcb93673fa79cf081f rebase: pass the wctx object (IMM or on-disk) to merge.update Differential Revision: https://phab.mercurial-scm.org/D1247 diff --git a/hgext/rebase.py b/hgext/rebase.py --- a/hgext/rebase.py +++ b/hgext/rebase.py @@ -1017,7 +1017,7 @@ def rebasenode(repo, rev, p1, base, stat # When collapsing in-place, the parent is the common ancestor, we # have to allow merging with it. stats = mergemod.update(repo, rev, True, True, base, collapse, - labels=['dest', 'source']) + labels=['dest', 'source'], wc=wctx) if collapse: copies.duplicatecopies(repo, wctx, rev, dest) else: