changeset 3043 | 2a4d4aecb2b4 |
parent 3042 | c0be8990e819 |
parent 3041 | a10adb6a9c9c |
child 3045 | 8d344bc72e68 |
3042:c0be8990e819 | 3043: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 |