filelog: stop proxying "opener" (API)
authorGregory Szorc <gregory.szorc@gmail.com>
Mon, 24 Sep 2018 12:42:03 -0700
changeset 39879 9596cf2a550d
parent 39878 2ac4f3e97813
child 39880 d909c44d29e1
filelog: stop proxying "opener" (API) The last consumer of it in upgrade code was removed as part of the previous commit. This attribute is revlog specific (because it assumes the existence of a vfs for performing I/O on tracked file data) and therefore isn't appropriate for a generic storage interface. So nuke it. Differential Revision: https://phab.mercurial-scm.org/D4749
mercurial/filelog.py
--- a/mercurial/filelog.py	Mon Sep 24 11:16:33 2018 -0700
+++ b/mercurial/filelog.py	Mon Sep 24 12:42:03 2018 -0700
@@ -203,11 +203,6 @@
     def indexfile(self, value):
         self._revlog.indexfile = value
 
-    # Unused.
-    @property
-    def opener(self):
-        return self._revlog.opener
-
     # Used by repo upgrade.
     def clone(self, tr, destrevlog, **kwargs):
         if not isinstance(destrevlog, filelog):