verify: provide unit to ui.makeprogress() stable
authorAnton Shestakov <av6@dwimlabs.net>
Wed, 14 Nov 2018 15:07:02 +0800
branchstable
changeset 40437 d2ff0af6e959
parent 40436 7589f2c9c3c7
child 40438 e5f54c4ec075
verify: provide unit to ui.makeprogress()
mercurial/verify.py
--- a/mercurial/verify.py	Tue Nov 13 19:47:48 2018 -0500
+++ b/mercurial/verify.py	Wed Nov 14 15:07:02 2018 +0800
@@ -302,7 +302,8 @@
         ui.status(_("crosschecking files in changesets and manifests\n"))
 
         total = len(filelinkrevs) + len(filenodes)
-        progress = ui.makeprogress(_('crosschecking'), total=total)
+        progress = ui.makeprogress(_('crosschecking'), unit=_('files'),
+                                   total=total)
         if self.havemf:
             for f in sorted(filelinkrevs):
                 progress.increment()