From patchwork Thu Dec 7 21:45:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D1247: rebase: pass the wctx object (IMM or on-disk) to merge.update From: phabricator X-Patchwork-Id: 26046 Message-Id: <30df8451d6f373607565380088bdc0b6@localhost.localdomain> To: mercurial-devel@mercurial-scm.org Date: Thu, 7 Dec 2017 21:45:59 +0000 phillco updated this revision to Diff 4212. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1247?vs=4193&id=4212 REVISION DETAIL https://phab.mercurial-scm.org/D1247 AFFECTED FILES hgext/rebase.py CHANGE DETAILS To: phillco, #hg-reviewers Cc: mercurial-devel diff --git a/hgext/rebase.py b/hgext/rebase.py --- a/hgext/rebase.py +++ b/hgext/rebase.py @@ -1017,7 +1017,7 @@ # 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: