diff tests/test-churn @ 9388:f7968bba2307

churn: issue833 was reintroduced in 9bc46d069a76, correct it and add a test
author Nicolas Dumazet <nicdumz.commits@gmail.com>
date Mon, 24 Aug 2009 12:47:44 +0200
parents f108e89400d8
children 7cca980317c5
line wrap: on
line diff
--- a/tests/test-churn	Sun Aug 23 11:32:44 2009 +0200
+++ b/tests/test-churn	Mon Aug 24 12:47:44 2009 +0200
@@ -48,3 +48,13 @@
 echo % churn by hour
 hg churn -f '%H' -s
 
+cd ..
+
+# issue 833: ZeroDivisionError
+hg init issue-833
+cd issue-833
+touch foo
+hg ci -Am foo
+# this was failing with a ZeroDivisionError
+hg churn
+cd ..