changeset 17373:4cbb1137941d stable

store: sort the results of fncachestore.datafiles()
author Bryan O'Sullivan <bryano@fb.com>
date Wed, 15 Aug 2012 16:30:32 -0700
parents 935831597e16
children 0cec762790ed
files mercurial/store.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/store.py	Wed Aug 15 12:04:50 2012 +0200
+++ b/mercurial/store.py	Wed Aug 15 16:30:32 2012 -0700
@@ -398,7 +398,7 @@
     def datafiles(self):
         rewrite = False
         existing = []
-        for f in self.fncache:
+        for f in sorted(self.fncache):
             ef = self.encode(f)
             try:
                 yield f, ef, self.getsize(ef)