author | Josef "Jeff" Sipek <jeffpc@josefsipek.net> |
Sun, 03 Sep 2006 18:41:16 -0400 | |
changeset 3051 | 7ffaf5aba4d8 |
parent 3050 | dd1a142988d3 |
child 3052 | 51083c31db04 |
hgext/churn.py | file | annotate | diff | comparison | revisions |
--- a/hgext/churn.py Sun Sep 03 16:30:07 2006 -0400 +++ b/hgext/churn.py Sun Sep 03 18:41:16 2006 -0400 @@ -82,6 +82,8 @@ cur_rev = 0 for rev in revs: + cur_rev += 1 # next revision + node2 = cl.node(rev) node1 = cl.parents(node2)[0] @@ -102,7 +104,6 @@ ui.note("rev %d: %d lines by %s\n" % (rev, lines, who)) - cur_rev += 1 if progress: if int(100.0*(cur_rev - 1)/nr_revs) < int(100.0*cur_rev/nr_revs): ui.write("%d%%.." % (int(100.0*cur_rev/nr_revs),))