filelog: stop proxying compress() (API)
authorGregory Szorc <gregory.szorc@gmail.com>
Tue, 18 Sep 2018 17:57:36 -0700
changeset 39780 6d6ddcfa62a6
parent 39779 42aa61fc5544
child 39781 87eeb6966220
filelog: stop proxying compress() (API) The censoring code was previously relying on this. With a dedicated censoring API on the interface, no consumers are left and we can stop proxying this method. Differential Revision: https://phab.mercurial-scm.org/D4658
mercurial/filelog.py
--- a/mercurial/filelog.py	Tue Sep 18 17:56:15 2018 -0700
+++ b/mercurial/filelog.py	Tue Sep 18 17:57:36 2018 -0700
@@ -214,9 +214,6 @@
 
         return self._revlog.clone(tr, destrevlog._revlog, **kwargs)
 
-    def compress(self, data):
-        return self._revlog.compress(data)
-
     def _addrevision(self, *args, **kwargs):
         return self._revlog._addrevision(*args, **kwargs)