# HG changeset patch # User Anton Shestakov # Date 1457706629 -28800 # Node ID 70d3dc05e118e13477d7a0f3b8d84ac1b7bc1278 # Parent f106913c6a4eb627cbcded2084a10c610317ad77 churn: specify unit for ui.progress when analyzing revisions diff -r f106913c6a4e -r 70d3dc05e118 hgext/churn.py --- 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