Show More
@@ -205,7 +205,7 b' def churn(ui, repo, *pats, **opts):' | |||||
205 | '*' * charnum(sum(count))) |
|
205 | '*' * charnum(sum(count))) | |
206 |
|
206 | |||
207 | def charnum(count): |
|
207 | def charnum(count): | |
208 |
return int |
|
208 | return int(count * width // maxcount) | |
209 |
|
209 | |||
210 | for name, count in rate: |
|
210 | for name, count in rate: | |
211 | ui.write(format(name, count)) |
|
211 | ui.write(format(name, count)) |
General Comments 0
You need to be logged in to leave comments.
Login now