hgext/churn.py
changeset 9670 7d56b6ffef72
parent 9669 9b127e888640
child 9672 5bbf4f130684
--- a/hgext/churn.py	Thu Oct 29 20:50:24 2009 +0200
+++ b/hgext/churn.py	Fri Oct 30 13:40:23 2009 +0200
@@ -63,7 +63,7 @@
         key = getkey(ctx)
         key = amap.get(key, key) # alias remap
         if opts.get('changesets'):
-            rate[key] = rate.get(key, 0) + 1
+            rate[key] = (rate.get(key, (0,))[0] + 1, 0)
         else:
             parents = ctx.parents()
             if len(parents) > 1: