Show More
@@ -243,12 +243,12 b' def _verify(repo):' | |||||
243 |
|
243 | |||
244 | # verify contents |
|
244 | # verify contents | |
245 | try: |
|
245 | try: | |
246 |
|
|
246 | l = len(fl.read(n)) | |
247 | rp = fl.renamed(n) |
|
247 | rp = fl.renamed(n) | |
248 |
if l |
|
248 | if l != fl.size(i): | |
249 | if len(fl.revision(n)) != fl.size(i): |
|
249 | if len(fl.revision(n)) != fl.size(i): | |
250 | err(lr, _("unpacked size is %s, %s expected") % |
|
250 | err(lr, _("unpacked size is %s, %s expected") % | |
251 |
(l |
|
251 | (l, fl.size(i)), f) | |
252 | except Exception, inst: |
|
252 | except Exception, inst: | |
253 | exc(lr, _("unpacking %s") % short(n), inst, f) |
|
253 | exc(lr, _("unpacking %s") % short(n), inst, f) | |
254 |
|
254 |
General Comments 0
You need to be logged in to leave comments.
Login now