filelog: stop proxying start(), end(), and length() (API)
authorGregory Szorc <gregory.szorc@gmail.com>
Tue, 18 Sep 2018 17:56:15 -0700
changeset 39795 42aa61fc5544
parent 39794 a6b3c4c1019f
child 39796 6d6ddcfa62a6
filelog: stop proxying start(), end(), and length() (API) These were needed by the censoring code, which formerly lived in the censor extension. Now that there is a censoring API on the file storage interface, nothing uses these methods and we can stop proxying them. Differential Revision: https://phab.mercurial-scm.org/D4657
mercurial/filelog.py
--- a/mercurial/filelog.py	Tue Sep 18 17:51:43 2018 -0700
+++ b/mercurial/filelog.py	Tue Sep 18 17:56:15 2018 -0700
@@ -214,15 +214,6 @@
 
         return self._revlog.clone(tr, destrevlog._revlog, **kwargs)
 
-    def start(self, rev):
-        return self._revlog.start(rev)
-
-    def end(self, rev):
-        return self._revlog.end(rev)
-
-    def length(self, rev):
-        return self._revlog.length(rev)
-
     def compress(self, data):
         return self._revlog.compress(data)