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