Mercurial > hg
diff mercurial/filelog.py @ 39870:b399ff55ee6d
upgrade: use storageinfo() for obtaining storage metadata
Let's switch to our new API for obtaining information about storage.
This eliminates the last consumer of rawsize() and the opener proxy
from the file storage interface!
Differential Revision: https://phab.mercurial-scm.org/D4748
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 24 Sep 2018 12:39:34 -0700 |
parents | 14e500b58263 |
children | 733db72f0f54 |
line wrap: on
line diff
--- a/mercurial/filelog.py Mon Sep 24 11:56:48 2018 -0700 +++ b/mercurial/filelog.py Mon Sep 24 12:39:34 2018 -0700 @@ -77,7 +77,7 @@ def iscensored(self, rev): return self._revlog.iscensored(rev) - # Used by repo upgrade, verify. + # Used by repo verify. def rawsize(self, rev): return self._revlog.rawsize(rev) @@ -207,7 +207,7 @@ def indexfile(self, value): self._revlog.indexfile = value - # Used by repo upgrade. + # Unused. @property def opener(self): return self._revlog.opener