# HG changeset patch # User Anton Shestakov # Date 2016-03-11 12:44:40 # Node ID c7d45c5a8cea3edce3dbcbb125db9890a0ddf61a # Parent 43eb31ea2dcb3cd26cefa52713265dab6cbd3083 repair: specify unit for ui.progress in rebuildfncache() diff --git a/mercurial/repair.py b/mercurial/repair.py --- a/mercurial/repair.py +++ b/mercurial/repair.py @@ -254,7 +254,8 @@ def rebuildfncache(ui, repo): repolen = len(repo) for rev in repo: - ui.progress(_('rebuilding'), rev, total=repolen) + ui.progress(_('rebuilding'), rev, total=repolen, + unit=_('changesets')) ctx = repo[rev] for f in ctx.files():