Mercurial > public > mercurial-scm > hg-stable
diff mercurial/repair.py @ 28466:c7d45c5a8cea
repair: specify unit for ui.progress in rebuildfncache()
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Fri, 11 Mar 2016 20:44:40 +0800 |
parents | 43eb31ea2dcb |
children | ae53ecc47414 |
line wrap: on
line diff
--- a/mercurial/repair.py Fri Mar 11 20:39:29 2016 +0800 +++ b/mercurial/repair.py Fri Mar 11 20:44:40 2016 +0800 @@ -254,7 +254,8 @@ 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():