# HG changeset patch # User Anton Shestakov # Date 1542179222 -28800 # Node ID d2ff0af6e95992ec7b792956585756149e003fa1 # Parent 7589f2c9c3c7159b7b5b528d5ed2c38f0e138291 verify: provide unit to ui.makeprogress() diff -r 7589f2c9c3c7 -r d2ff0af6e959 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()