merge.mergedriver: don't try resolving files marked driver-resolved
authorSiddharth Agarwal <sid0@fb.com>
Wed, 30 Sep 2015 19:43:51 -0700
changeset 26651 d58f2f0e2b19
parent 26650 6ff5534c8afc
child 26652 c502be14b4e2
merge.mergedriver: don't try resolving files marked driver-resolved The driver is expected to take care of these.
mercurial/merge.py
--- a/mercurial/merge.py	Mon Sep 28 18:34:06 2015 -0700
+++ b/mercurial/merge.py	Wed Sep 30 19:43:51 2015 -0700
@@ -331,7 +331,7 @@
 
     def _resolve(self, preresolve, dfile, wctx, labels=None):
         """rerun merge process for file path `dfile`"""
-        if self[dfile] == 'r':
+        if self[dfile] in 'rd':
             return True, 0
         stateentry = self._state[dfile]
         state, hash, lfile, afile, anode, ofile, onode, flags = stateentry