merge: backout manifest sorting and workarounds for cost of it
authorMads Kiilerich <madski@unity3d.com>
Mon, 04 Feb 2013 02:46:38 +0100
changeset 18542 46be5c9dac91
parent 18541 5ed6a375e9ca
child 18543 c8ba98bf0e71
merge: backout manifest sorting and workarounds for cost of it Backout 8a811fa9a9c0 and 760c0d67ce5e which no longer are needed.
mercurial/merge.py
--- a/mercurial/merge.py	Thu Jan 24 23:57:44 2013 +0100
+++ b/mercurial/merge.py	Mon Feb 04 02:46:38 2013 +0100
@@ -228,10 +228,7 @@
 
     prompts = []
     # Compare manifests
-    visit = m1.iteritems()
-    if repo.ui.debugflag:
-        visit = sorted(visit)
-    for f, n in visit:
+    for f, n in m1.iteritems():
         if partial and not partial(f):
             continue
         if f in m2:
@@ -271,10 +268,7 @@
             else:
                 act("other deleted", "r", f)
 
-    visit = m2.iteritems()
-    if repo.ui.debugflag:
-        visit = sorted(visit)
-    for f, n in visit:
+    for f, n in m2.iteritems():
         if partial and not partial(f):
             continue
         if f in m1 or f in copied: # files already visited