diff --git a/hgext/fix.py b/hgext/fix.py --- a/hgext/fix.py +++ b/hgext/fix.py @@ -162,7 +162,10 @@ filedata = collections.defaultdict(dict) replacements = {} commitorder = sorted(revstofix, reverse=True) + progress = ui.makeprogress(topic=_('fixing'), unit=_('files'), + total=sum(numitems.values())) for rev, path, newdata in results: + progress.increment(item=path) if newdata is not None: filedata[rev][path] = newdata numitems[rev] -= 1 @@ -178,6 +181,7 @@ else: replacerev(ui, repo, ctx, filedata[rev], replacements) del filedata[rev] + progress.complete() replacements = {prec: [succ] for prec, succ in replacements.iteritems()} scmutil.cleanupnodes(repo, replacements, 'fix', fixphase=True)