[PATCH 1 of 2 in crew-stable] store: sort the results of fncachestore.datafiles()
Bryan O'Sullivan
bos at serpentine.com
Wed Aug 15 18:32:18 CDT 2012
# HG changeset patch
# User Bryan O'Sullivan <bryano at fb.com>
# Date 1345073432 25200
# Branch stable
# Node ID 4cbb1137941d8d97a59efdf0acd47419f07969d3
# Parent 935831597e16b9d6a842b2b01388af56ab334ea8
store: sort the results of fncachestore.datafiles()
diff --git a/mercurial/store.py b/mercurial/store.py
--- a/mercurial/store.py
+++ b/mercurial/store.py
@@ -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)
More information about the Mercurial-devel
mailing list