repair: specify unit for ui.progress in rebuildfncache()
authorAnton Shestakov <av6@dwimlabs.net>
Fri, 11 Mar 2016 20:44:40 +0800
changeset 28466 c7d45c5a8cea
parent 28465 43eb31ea2dcb
child 28467 bd37f0d53a49
repair: specify unit for ui.progress in rebuildfncache()
mercurial/repair.py
--- 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():