Mercurial > hg-stable
changeset 39879:9596cf2a550d
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
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 24 Sep 2018 12:42:03 -0700 |
parents | 2ac4f3e97813 |
children | d909c44d29e1 |
files | mercurial/filelog.py |
diffstat | 1 files changed, 0 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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):