Mercurial > hg-stable
changeset 28472:70d3dc05e118
churn: specify unit for ui.progress when analyzing revisions
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Fri, 11 Mar 2016 22:30:29 +0800 |
parents | f106913c6a4e |
children | 61d1a3cc6e1c |
files | hgext/churn.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/churn.py Fri Mar 11 22:30:04 2016 +0800 +++ b/hgext/churn.py Fri Mar 11 22:30:29 2016 +0800 @@ -94,7 +94,8 @@ rate[key] = [r + l for r, l in zip(rate.get(key, (0, 0)), lines)] state['count'] += 1 - ui.progress(_('analyzing'), state['count'], total=len(repo)) + ui.progress(_('analyzing'), state['count'], total=len(repo), + unit=_('revisions')) for ctx in cmdutil.walkchangerevs(repo, m, opts, prep): continue