Mercurial > public > mercurial-scm > hg-stable
diff hgext/churn.py @ 9670:7d56b6ffef72
churn: fix changeset count (broken by 9b127e888640)
author | Alexander Solovyov <piranha@piranha.org.ua> |
---|---|
date | Fri, 30 Oct 2009 13:40:23 +0200 |
parents | 9b127e888640 |
children | 5bbf4f130684 |
line wrap: on
line diff
--- 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: