merge.applyupdates: only attempt to merge files in mergeactions
authorSiddharth Agarwal <sid0@fb.com>
Thu, 12 Nov 2015 14:29:02 -0800
changeset 26949 b639b2f186bf
parent 26948 067ab07435c9
child 26950 6686ae524f94
merge.applyupdates: only attempt to merge files in mergeactions This only makes a difference when a merge driver is active -- in that case we don't want to try and merge all the files, just the ones still unresolved after the merge driver's preprocess step is over.
mercurial/merge.py
--- a/mercurial/merge.py	Wed Nov 11 17:34:28 2015 -0800
+++ b/mercurial/merge.py	Thu Nov 12 14:29:02 2015 -0800
@@ -970,7 +970,7 @@
 
     # premerge
     tocomplete = []
-    for f, args, msg in actions['m']:
+    for f, args, msg in mergeactions:
         repo.ui.debug(" %s: %s -> m (premerge)\n" % (f, msg))
         z += 1
         progress(_updating, z, item=f, total=numupdates, unit=_files)