changeset 39780:6d6ddcfa62a6

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
author Gregory Szorc <gregory.szorc@gmail.com>
date Tue, 18 Sep 2018 17:57:36 -0700
parents 42aa61fc5544
children 87eeb6966220
files mercurial/filelog.py
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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)