Show More
@@ -135,10 +135,9 class verifier(object): | |||
|
135 | 135 | This method run all verifications, displaying issues as they are found. |
|
136 | 136 | |
|
137 | 137 | return 1 if any error have been encountered, 0 otherwise.""" |
|
138 | # initial validation and generic report | |
|
138 | 139 | repo = self.repo |
|
139 | ||
|
140 | 140 | ui = repo.ui |
|
141 | ||
|
142 | 141 | if not repo.url().startswith('file:'): |
|
143 | 142 | raise error.Abort(_("cannot verify bundle or remote repos")) |
|
144 | 143 | |
@@ -149,15 +148,14 class verifier(object): | |||
|
149 | 148 | ui.status(_("repository uses revlog format %d\n") % |
|
150 | 149 | (self.revlogv1 and 1 or 0)) |
|
151 | 150 | |
|
151 | # data verification | |
|
152 | 152 | mflinkrevs, filelinkrevs = self._verifychangelog() |
|
153 | ||
|
154 | 153 | filenodes = self._verifymanifest(mflinkrevs) |
|
155 | 154 | del mflinkrevs |
|
156 | ||
|
157 | 155 | self._crosscheckfiles(filelinkrevs, filenodes) |
|
158 | ||
|
159 | 156 | totalfiles, filerevisions = self._verifyfiles(filenodes, filelinkrevs) |
|
160 | 157 | |
|
158 | # final report | |
|
161 | 159 | ui.status(_("checked %d changesets with %d changes to %d files\n") % |
|
162 | 160 | (len(repo.changelog), filerevisions, totalfiles)) |
|
163 | 161 | if self.warnings: |
General Comments 0
You need to be logged in to leave comments.
Login now