##// END OF EJS Templates
repair: use progress helper...
Martin von Zweigbergk -
r38413:f0b0c853 default
parent child Browse files
Show More
@@ -355,10 +355,10 b' def rebuildfncache(ui, repo):'
355 355 newentries = set()
356 356 seenfiles = set()
357 357
358 repolen = len(repo)
358 progress = ui.makeprogress(_('rebuilding'), unit=_('changesets'),
359 total=len(repo))
359 360 for rev in repo:
360 ui.progress(_('rebuilding'), rev, total=repolen,
361 unit=_('changesets'))
361 progress.update(rev)
362 362
363 363 ctx = repo[rev]
364 364 for f in ctx.files():
@@ -375,7 +375,7 b' def rebuildfncache(ui, repo):'
375 375 if repo.store._exists(d):
376 376 newentries.add(d)
377 377
378 ui.progress(_('rebuilding'), None)
378 progress.complete()
379 379
380 380 if 'treemanifest' in repo.requirements: # safe but unnecessary otherwise
381 381 for dir in util.dirs(seenfiles):
General Comments 0
You need to be logged in to leave comments. Login now