[churn] Fixed churn ignoring the first commit
authorJosef "Jeff" Sipek <jeff@josefsipek.net>
Sat, 19 Aug 2006 14:47:31 -0400
changeset 3041 a10adb6a9c9c
parent 3040 fe0e3508ec6e
child 3043 2a4d4aecb2b4
[churn] Fixed churn ignoring the first commit
hgext/churn.py
--- a/hgext/churn.py
+++ b/hgext/churn.py
@@ -74,7 +74,7 @@ def gather_stats(ui, repo, amap):
     
     cl    = repo.changelog
 
-    for rev in range(1,cl.count()):
+    for rev in range(0,cl.count()):
         node2    = cl.node(rev)
         node1    = cl.parents(node2)[0]