verify: specify unit for ui.progress when checking files
authorAnton Shestakov <av6@dwimlabs.net>
Fri, 11 Mar 2016 20:18:41 +0800
changeset 28467 bd37f0d53a49
parent 28466 c7d45c5a8cea
child 28468 0d6b3630b9a3
verify: specify unit for ui.progress when checking files
mercurial/verify.py
--- a/mercurial/verify.py	Fri Mar 11 20:44:40 2016 +0800
+++ b/mercurial/verify.py	Fri Mar 11 20:18:41 2016 +0800
@@ -342,7 +342,7 @@
         total = len(files)
         revisions = 0
         for i, f in enumerate(files):
-            ui.progress(_('checking'), i, item=f, total=total)
+            ui.progress(_('checking'), i, item=f, total=total, unit=_('files'))
             try:
                 linkrevs = filelinkrevs[f]
             except KeyError: