[churn] Fixed churn ignoring the first commit
authorJosef "Jeff" Sipek <jeff@josefsipek.net>
Sat, 19 Aug 2006 14:47:31 -0400
changeset 3044 a10adb6a9c9c
parent 3043 fe0e3508ec6e
child 3046 2a4d4aecb2b4
[churn] Fixed churn ignoring the first commit
hgext/churn.py
--- a/hgext/churn.py	Tue Aug 15 06:15:06 2006 -0400
+++ b/hgext/churn.py	Sat Aug 19 14:47:31 2006 -0400
@@ -74,7 +74,7 @@
     
     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]