changeset 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 bd37f0d53a49
files mercurial/repair.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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():