changeset 28467:bd37f0d53a49

verify: specify unit for ui.progress when checking files
author Anton Shestakov <av6@dwimlabs.net>
date Fri, 11 Mar 2016 20:18:41 +0800
parents c7d45c5a8cea
children 0d6b3630b9a3
files mercurial/verify.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: