##// END OF EJS Templates
progress: use a verb in present participle
Martin Geisler -
r10700:b2b71c30 default
parent child Browse files
Show More
@@ -75,12 +75,12 b' def countrate(ui, repo, amap, *pats, **o'
75 rate[key] = [r + l for r, l in zip(rate.get(key, (0, 0)), lines)]
75 rate[key] = [r + l for r, l in zip(rate.get(key, (0, 0)), lines)]
76
76
77 state['count'] += 1
77 state['count'] += 1
78 ui.progress(_('churning changes'), state['count'], total=len(repo))
78 ui.progress(_('analyzing'), state['count'], total=len(repo))
79
79
80 for ctx in cmdutil.walkchangerevs(repo, m, opts, prep):
80 for ctx in cmdutil.walkchangerevs(repo, m, opts, prep):
81 continue
81 continue
82
82
83 ui.progress(_('churning changes'), None)
83 ui.progress(_('analyzing'), None)
84
84
85 return rate
85 return rate
86
86
@@ -290,7 +290,7 b' def findrenames(repo, added, removed, th'
290 copies = {}
290 copies = {}
291 ctx = repo['.']
291 ctx = repo['.']
292 for i, r in enumerate(removed):
292 for i, r in enumerate(removed):
293 repo.ui.progress(_('looking for similarities'), i, total=len(removed))
293 repo.ui.progress(_('searching'), i, total=len(removed))
294 if r not in ctx:
294 if r not in ctx:
295 continue
295 continue
296 fctx = ctx.filectx(r)
296 fctx = ctx.filectx(r)
@@ -325,7 +325,7 b' def findrenames(repo, added, removed, th'
325 myscore = score(repo.wread(a))
325 myscore = score(repo.wread(a))
326 if myscore >= bestscore:
326 if myscore >= bestscore:
327 copies[a] = (r, myscore)
327 copies[a] = (r, myscore)
328 repo.ui.progress(_('looking for similarities'), None, total=len(removed))
328 repo.ui.progress(_('searching'), None, total=len(removed))
329
329
330 for dest, v in copies.iteritems():
330 for dest, v in copies.iteritems():
331 source, score = v
331 source, score = v
General Comments 0
You need to be logged in to leave comments. Login now