diff --git a/mercurial/merge.py b/mercurial/merge.py --- a/mercurial/merge.py +++ b/mercurial/merge.py @@ -458,7 +458,7 @@ def calculateupdates(repo, tctx, mctx, a (force or not tctx.dirty(missing=True, branch=False))): _checkcollision(mctx, None) else: - _checkcollision(mctx, tctx) + _checkcollision(mctx, (tctx, ancestor)) if not force: _checkunknown(repo, tctx, mctx) if tctx.rev() is None: