Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/verify.py @ 39506:f1186c292d03
verify: make output less confusing (issue5924)
output before: "500 files, 2035 changesets, 2622 total revisions"
output after: "checked 2035 changesets with 2622 changes to 500 files"
new one was suggested in the comments inside the issue.
Differential Revision: https://phab.mercurial-scm.org/D4476
author | Meirambek Omyrzak <meirambek77@gmail.com> |
---|---|
date | Wed, 05 Sep 2018 01:19:48 +0300 |
parents | 73cf21b2e8a6 |
children | b63dee7bd0d9 |
comparison
equal
deleted
inserted
replaced
39505:d629b6d2f05a | 39506:f1186c292d03 |
---|---|
151 | 151 |
152 self._crosscheckfiles(filelinkrevs, filenodes) | 152 self._crosscheckfiles(filelinkrevs, filenodes) |
153 | 153 |
154 totalfiles, filerevisions = self._verifyfiles(filenodes, filelinkrevs) | 154 totalfiles, filerevisions = self._verifyfiles(filenodes, filelinkrevs) |
155 | 155 |
156 ui.status(_("%d files, %d changesets, %d total revisions\n") % | 156 ui.status(_("checked %d changesets with %d changes to %d files\n") % |
157 (totalfiles, len(repo.changelog), filerevisions)) | 157 (len(repo.changelog), filerevisions, totalfiles)) |
158 if self.warnings: | 158 if self.warnings: |
159 ui.warn(_("%d warnings encountered!\n") % self.warnings) | 159 ui.warn(_("%d warnings encountered!\n") % self.warnings) |
160 if self.fncachewarned: | 160 if self.fncachewarned: |
161 ui.warn(_('hint: run "hg debugrebuildfncache" to recover from ' | 161 ui.warn(_('hint: run "hg debugrebuildfncache" to recover from ' |
162 'corrupt fncache\n')) | 162 'corrupt fncache\n')) |