# HG changeset patch # User Anton Shestakov # Date 2018-11-14 07:07:02 # Node ID d2ff0af6e95992ec7b792956585756149e003fa1 # Parent 7589f2c9c3c7159b7b5b528d5ed2c38f0e138291 verify: provide unit to ui.makeprogress() diff --git a/mercurial/verify.py b/mercurial/verify.py --- a/mercurial/verify.py +++ b/mercurial/verify.py @@ -302,7 +302,8 @@ class verifier(object): 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()