Show More
@@ -77,6 +77,13 b' class verifier(object):' | |||||
77 | self._err(linkrev, "%s: %s" % (msg, fmsg), filename) |
|
77 | self._err(linkrev, "%s: %s" % (msg, fmsg), filename) | |
78 |
|
78 | |||
79 | def checklog(self, obj, name, linkrev): |
|
79 | def checklog(self, obj, name, linkrev): | |
|
80 | """verify high level property of a revlog | |||
|
81 | ||||
|
82 | - revlog is present, | |||
|
83 | - revlog is non-empty, | |||
|
84 | - sizes (index and data) are correct, | |||
|
85 | - revlog's format version is correct. | |||
|
86 | """ | |||
80 | if not len(obj) and (self.havecl or self.havemf): |
|
87 | if not len(obj) and (self.havecl or self.havemf): | |
81 | self._err(linkrev, _("empty or missing %s") % name) |
|
88 | self._err(linkrev, _("empty or missing %s") % name) | |
82 | return |
|
89 | return |
General Comments 0
You need to be logged in to leave comments.
Login now