mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 07:49:11 +03:00
churn: specify unit for ui.progress when analyzing revisions
This commit is contained in:
parent
67f0dab5d3
commit
a65379c3ff
@ -94,7 +94,8 @@ def countrate(ui, repo, amap, *pats, **opts):
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user