Show More
@@ -149,7 +149,8 b' def churn(ui, repo, *pats, **opts):' | |||||
149 |
|
149 | |||
150 | if opts.get('diffstat'): |
|
150 | if opts.get('diffstat'): | |
151 | width -= 15 |
|
151 | width -= 15 | |
152 |
def format(name, |
|
152 | def format(name, diffstat): | |
|
153 | added, removed = diffstat | |||
153 | return "%s %15s %s%s\n" % (pad(name, maxname), |
|
154 | return "%s %15s %s%s\n" % (pad(name, maxname), | |
154 | '+%d/-%d' % (added, removed), |
|
155 | '+%d/-%d' % (added, removed), | |
155 | ui.label('+' * charnum(added), |
|
156 | ui.label('+' * charnum(added), |
General Comments 0
You need to be logged in to leave comments.
Login now