mercurial/commands.py
branchstable
changeset 20594 ba619c50a355
parent 20576 7f865a94691e
child 20595 710c2755e66a
child 20633 2d183dd54384
--- a/mercurial/commands.py	Tue Feb 25 18:54:47 2014 -0800
+++ b/mercurial/commands.py	Tue Feb 25 18:45:01 2014 -0800
@@ -4961,7 +4961,6 @@
                 ms.mark(f, "u")
             else:
                 wctx = repo[None]
-                mctx = wctx.parents()[-1]
 
                 # backup pre-resolve (merge uses .orig for its own purposes)
                 a = repo.wjoin(f)
@@ -4970,7 +4969,7 @@
                 try:
                     # resolve file
                     ui.setconfig('ui', 'forcemerge', opts.get('tool', ''))
-                    if ms.resolve(f, wctx, mctx):
+                    if ms.resolve(f, wctx):
                         ret = 1
                 finally:
                     ui.setconfig('ui', 'forcemerge', '')