diff tests/simplestorerepo.py @ 39844:0cb3e02e1d1b

filelog: stop proxying checksize() (API) This was only used by verify code. And the check using it is now implemented as part of verifyintegrity(). The method is unused and is revlog-centric, which means it isn't appropriate for the file storage interface. So remove it. Differential Revision: https://phab.mercurial-scm.org/D4703
author Gregory Szorc <gregory.szorc@gmail.com>
date Wed, 19 Sep 2018 11:22:56 -0700
parents 68282a7b29a7
children d9b3cc3d5d07
line wrap: on
line diff
--- a/tests/simplestorerepo.py	Wed Sep 19 11:20:02 2018 -0700
+++ b/tests/simplestorerepo.py	Wed Sep 19 11:22:56 2018 -0700
@@ -422,10 +422,6 @@
 
         return [b'/'.join((self._storepath, f)) for f in entries]
 
-    # Required by verify.
-    def checksize(self):
-        return 0, 0
-
     def add(self, text, meta, transaction, linkrev, p1, p2):
         if meta or text.startswith(b'\1\n'):
             text = revlog.packmeta(meta, text)