diff -r 0776a6cababe -r 3eab42088be4 mercurial/merge.py --- a/mercurial/merge.py Thu Feb 09 17:04:17 2012 -0600 +++ b/mercurial/merge.py Thu Feb 09 17:54:47 2012 -0600 @@ -545,6 +545,8 @@ if not force and (wc.files() or wc.deleted()): raise util.Abort(_("outstanding uncommitted changes"), hint=_("use 'hg status' to list changes")) + if not force: + _checkunknown(repo, wc, p2) for s in wc.substate: if wc.sub(s).dirty(): raise util.Abort(_("outstanding uncommitted changes in " @@ -566,8 +568,6 @@ ### calculate phase action = [] folding = not util.checkcase(repo.path) - if not force: - _checkunknown(repo, wc, p2) if folding: _checkcollision(p2, branchmerge and p1) action += _forgetremoved(wc, p2, branchmerge)