mercurial/filemerge.py
changeset 26613 abb5ec3eb6ce
parent 26611 a5ff66e6d77a
child 26614 ef1eb6df7071
--- a/mercurial/filemerge.py	Mon Oct 12 14:15:04 2015 -0400
+++ b/mercurial/filemerge.py	Sun Oct 11 15:04:00 2015 -0700
@@ -522,12 +522,8 @@
             # complete if premerge successful (r is 0)
             return not r, r
 
-        if not r:  # premerge successfully merged the file
-            needcheck = False
-        else:
-            needcheck, r = func(repo, mynode, orig, fcd, fco, fca, toolconf,
-                                files, labels=labels)
-
+        needcheck, r = func(repo, mynode, orig, fcd, fco, fca, toolconf, files,
+                            labels=labels)
         if needcheck:
             r = _check(r, ui, tool, fcd, files)