Mercurial > hg
changeset 10700:b2b71c304de0
progress: use a verb in present participle
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Mon, 15 Mar 2010 18:40:00 +0100 |
parents | 7b0a0d498cc0 |
children | 1437542a9fd7 |
files | hgext/churn.py mercurial/cmdutil.py |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/churn.py Mon Mar 15 18:36:11 2010 +0100 +++ b/hgext/churn.py Mon Mar 15 18:40:00 2010 +0100 @@ -75,12 +75,12 @@ rate[key] = [r + l for r, l in zip(rate.get(key, (0, 0)), lines)] state['count'] += 1 - ui.progress(_('churning changes'), state['count'], total=len(repo)) + ui.progress(_('analyzing'), state['count'], total=len(repo)) for ctx in cmdutil.walkchangerevs(repo, m, opts, prep): continue - ui.progress(_('churning changes'), None) + ui.progress(_('analyzing'), None) return rate
--- a/mercurial/cmdutil.py Mon Mar 15 18:36:11 2010 +0100 +++ b/mercurial/cmdutil.py Mon Mar 15 18:40:00 2010 +0100 @@ -290,7 +290,7 @@ copies = {} ctx = repo['.'] for i, r in enumerate(removed): - repo.ui.progress(_('looking for similarities'), i, total=len(removed)) + repo.ui.progress(_('searching'), i, total=len(removed)) if r not in ctx: continue fctx = ctx.filectx(r) @@ -325,7 +325,7 @@ myscore = score(repo.wread(a)) if myscore >= bestscore: copies[a] = (r, myscore) - repo.ui.progress(_('looking for similarities'), None, total=len(removed)) + repo.ui.progress(_('searching'), None, total=len(removed)) for dest, v in copies.iteritems(): source, score = v