changeset 6516:7a6243bf209d

fixed missing sorting in test-dumprevlog The test failed at random because the order of files was non-deterministic, which produced diffs in test output.
author Adrian Buehlmann <adrian@cadifra.com>
date Fri, 11 Apr 2008 09:27:28 +0200
parents f65ac37f0a15
children fcfb6a0a0a84
files tests/test-dumprevlog
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-dumprevlog	Fri Apr 11 11:21:55 2008 +0200
+++ b/tests/test-dumprevlog	Fri Apr 11 09:27:28 2008 +0200
@@ -23,7 +23,7 @@
 echo dumprevlog done
 
 # dump all revlogs to file repo.dump
-find .hg/store -name "*.i" | xargs python $CONTRIBDIR/dumprevlog > ../repo.dump
+find .hg/store -name "*.i" | sort | xargs python $CONTRIBDIR/dumprevlog > ../repo.dump
 
 cd ..