# HG changeset patch # User Anton Shestakov # Date 2016-03-11 14:30:29 # Node ID 70d3dc05e118e13477d7a0f3b8d84ac1b7bc1278 # Parent f106913c6a4eb627cbcded2084a10c610317ad77 churn: specify unit for ui.progress when analyzing revisions diff --git a/hgext/churn.py b/hgext/churn.py --- a/hgext/churn.py +++ b/hgext/churn.py @@ -94,7 +94,8 @@ def countrate(ui, repo, amap, *pats, **o 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