Mercurial > hg
comparison hgext/churn.py @ 3046:2a4d4aecb2b4
Merge with Brendan Cully
author | Josef "Jeff" Sipek <jeff@josefsipek.net> |
---|---|
date | Sat, 19 Aug 2006 15:20:54 -0400 |
parents | c0be8990e819 a10adb6a9c9c |
children | 8d344bc72e68 |
comparison
equal
deleted
inserted
replaced
3045:c0be8990e819 | 3046:2a4d4aecb2b4 |
---|---|
74 stats = {} | 74 stats = {} |
75 | 75 |
76 cl = repo.changelog | 76 cl = repo.changelog |
77 | 77 |
78 if not revs: | 78 if not revs: |
79 revs = range(1, cl.count()) | 79 revs = range(0, cl.count()) |
80 | 80 |
81 for rev in revs: | 81 for rev in revs: |
82 node2 = cl.node(rev) | 82 node2 = cl.node(rev) |
83 node1 = cl.parents(node2)[0] | 83 node1 = cl.parents(node2)[0] |
84 | 84 |