D4749: filelog: stop proxying "opener" (API)

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Wed Sep 26 18:29:40 UTC 2018


indygreg created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  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.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D4749

AFFECTED FILES
  mercurial/filelog.py

CHANGE DETAILS

diff --git a/mercurial/filelog.py b/mercurial/filelog.py
--- a/mercurial/filelog.py
+++ b/mercurial/filelog.py
@@ -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):



To: indygreg, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list