fixed missing sorting in test-dumprevlog
authorAdrian Buehlmann <adrian@cadifra.com>
Fri, 11 Apr 2008 09:27:28 +0200
changeset 6516 7a6243bf209d
parent 6515 f65ac37f0a15
child 6517 fcfb6a0a0a84
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.
tests/test-dumprevlog
--- 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 ..