Mercurial > hg
changeset 10821:a6ac91c313af
churn: make use of output labeling
author | Brodie Rao <brodie@bitheap.org> |
---|---|
date | Fri, 02 Apr 2010 15:22:10 -0500 |
parents | da809085bc9f |
children | 4c63f8e787b8 |
files | hgext/churn.py |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/churn.py Fri Apr 02 15:22:09 2010 -0500 +++ b/hgext/churn.py Fri Apr 02 15:22:10 2010 -0500 @@ -153,8 +153,10 @@ def format(name, (added, removed)): return "%s %15s %s%s\n" % (pad(name, maxname), '+%d/-%d' % (added, removed), - '+' * charnum(added), - '-' * charnum(removed)) + ui.label('+' * charnum(added), + 'diffstat.inserted'), + ui.label('-' * charnum(removed), + 'diffstat.deleted')) else: width -= 6 def format(name, count):