author | Augie Fackler <augie@google.com> |
Sat, 13 Oct 2018 09:47:53 -0400 | |
changeset 40264 | 12e2e5cd5777 |
parent 40263 | 8cf459d8b111 |
child 40265 | d6b7c4e77bb4 |
hgext/churn.py | file | annotate | diff | comparison | revisions |
--- a/hgext/churn.py Sat Oct 13 10:09:12 2018 +0200 +++ b/hgext/churn.py Sat Oct 13 09:47:53 2018 -0400 @@ -205,7 +205,7 @@ '*' * charnum(sum(count))) def charnum(count): - return int(round(count * width // maxcount)) + return int(count * width // maxcount) for name, count in rate: ui.write(format(name, count))