Mercurial > public > mercurial-scm > hg-stable
diff mercurial/interfaces/repository.py @ 47160:bc7d465ea11e
manifest: drop the `indexfile` from `manifestrevlog`
Since `manifestrevlog` object are not revlog (no really, they are not?) we drop
the revlog specific attribute. We need to directly access the underlying revlog
in a couple of place that already assume that we have a revlog here.
This is motivated by future change to that revlog attribute.
Differential Revision: https://phab.mercurial-scm.org/D10572
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 03 May 2021 12:21:56 +0200 |
parents | f58a13c52726 |
children | 19d4802cb304 |
line wrap: on
line diff
--- a/mercurial/interfaces/repository.py Mon May 03 12:21:46 2021 +0200 +++ b/mercurial/interfaces/repository.py Mon May 03 12:21:56 2021 +0200 @@ -1167,13 +1167,6 @@ """An ``ifilerevisionssequence`` instance.""" ) - indexfile = interfaceutil.Attribute( - """Path of revlog index file. - - TODO this is revlog specific and should not be exposed. - """ - ) - opener = interfaceutil.Attribute( """VFS opener to use to access underlying files used for storage.