Show More
@@ -337,6 +337,16 b' class verifier(object):' | |||||
337 | filenodes.setdefault(fullpath, {}).setdefault(fn, lr) |
|
337 | filenodes.setdefault(fullpath, {}).setdefault(fn, lr) | |
338 | except Exception as inst: |
|
338 | except Exception as inst: | |
339 | self._exc(lr, _("reading delta %s") % short(n), inst, label) |
|
339 | self._exc(lr, _("reading delta %s") % short(n), inst, label) | |
|
340 | if self._level >= VERIFY_FULL: | |||
|
341 | try: | |||
|
342 | # Various issues can affect manifest. So we read each full | |||
|
343 | # text from storage. This triggers the checks from the core | |||
|
344 | # code (eg: hash verification, filename are ordered, etc.) | |||
|
345 | mfdelta = mfl.get(dir, n).read() | |||
|
346 | except Exception as inst: | |||
|
347 | self._exc(lr, _("reading full manifest %s") % short(n), | |||
|
348 | inst, label) | |||
|
349 | ||||
340 | if not dir: |
|
350 | if not dir: | |
341 | progress.complete() |
|
351 | progress.complete() | |
342 |
|
352 |
General Comments 0
You need to be logged in to leave comments.
Login now