status: check cmp list in order
authorMatt Mackall <mpm@selenic.com>
Thu, 14 May 2009 13:20:40 -0500
changeset 8395 475552c03496
parent 8394 850b5a7c210d
child 8396 d7a77ad9bcce
status: check cmp list in order
mercurial/localrepo.py
--- a/mercurial/localrepo.py	Thu May 14 16:22:49 2009 +0200
+++ b/mercurial/localrepo.py	Thu May 14 13:20:40 2009 -0500
@@ -1051,7 +1051,7 @@
             if parentworking and cmp:
                 fixup = []
                 # do a full compare of any files that might have changed
-                for f in cmp:
+                for f in sorted(cmp):
                     if (f not in ctx1 or ctx2.flags(f) != ctx1.flags(f)
                         or ctx1[f].cmp(ctx2[f].data())):
                         modified.append(f)