Show More
@@ -172,17 +172,18 def _verify(repo): | |||||
172 |
|
172 | |||
173 | files = util.sort(util.unique(filenodes.keys() + filelinkrevs.keys())) |
|
173 | files = util.sort(util.unique(filenodes.keys() + filelinkrevs.keys())) | |
174 | for f in files: |
|
174 | for f in files: | |
|
175 | lr = filelinkrevs[f][0] | |||
175 | try: |
|
176 | try: | |
176 | fl = repo.file(f) |
|
177 | fl = repo.file(f) | |
177 | except error.RevlogError, e: |
|
178 | except error.RevlogError, e: | |
178 |
err( |
|
179 | err(lr, _("broken revlog! (%s)") % e, f) | |
179 | continue |
|
180 | continue | |
180 |
|
181 | |||
181 | for ff in fl.files(): |
|
182 | for ff in fl.files(): | |
182 | try: |
|
183 | try: | |
183 | del storefiles[ff] |
|
184 | del storefiles[ff] | |
184 | except KeyError: |
|
185 | except KeyError: | |
185 |
err( |
|
186 | err(lr, _("missing revlog!"), ff) | |
186 |
|
187 | |||
187 | checklog(fl, f) |
|
188 | checklog(fl, f) | |
188 | seen = {} |
|
189 | seen = {} |
@@ -36,8 +36,8 checking manifests | |||||
36 | crosschecking files in changesets and manifests |
|
36 | crosschecking files in changesets and manifests | |
37 | checking files |
|
37 | checking files | |
38 | data/a.i@0: missing revlog! |
|
38 | data/a.i@0: missing revlog! | |
39 |
data/a.i.hg.hg/c.i@ |
|
39 | data/a.i.hg.hg/c.i@2: missing revlog! | |
40 |
data/a.i.hg/b.i@ |
|
40 | data/a.i.hg/b.i@1: missing revlog! | |
41 | 3 files, 3 changesets, 3 total revisions |
|
41 | 3 files, 3 changesets, 3 total revisions | |
42 | 3 integrity errors encountered! |
|
42 | 3 integrity errors encountered! | |
43 | (first damaged changeset appears to be 0) |
|
43 | (first damaged changeset appears to be 0) |
General Comments 0
You need to be logged in to leave comments.
Login now