Show More
@@ -2272,6 +2272,14 b' class revlog(object):' | |||
|
2272 | 2272 | self._nodepos = None |
|
2273 | 2273 | |
|
2274 | 2274 | def checksize(self): |
|
2275 | """Check size of index and data files | |
|
2276 | ||
|
2277 | return a (dd, di) tuple. | |
|
2278 | - dd: extra bytes for the "data" file | |
|
2279 | - di: extra bytes for the "index" file | |
|
2280 | ||
|
2281 | A healthy revlog will return (0, 0). | |
|
2282 | """ | |
|
2275 | 2283 | expected = 0 |
|
2276 | 2284 | if len(self): |
|
2277 | 2285 | expected = max(0, self.end(len(self) - 1)) |
General Comments 0
You need to be logged in to leave comments.
Login now