diff --git a/hgext/churn.py b/hgext/churn.py --- a/hgext/churn.py +++ b/hgext/churn.py @@ -205,7 +205,7 @@ '*' * charnum(sum(count))) def charnum(count): - return int(round(count * width // maxcount)) + return count * width // maxcount for name, count in rate: ui.write(format(name, count))