Mercurial > hg
diff mercurial/filelog.py @ 39875:d909c44d29e1
filelog: stop proxying rawsize() (API)
This method is no longer used by external consumers. The API is
quite low-level and is effectively len(revision(raw=True)). I don't
see a compelling reason to keep it around.
Let's drop the API and make the file storage interface simpler.
Differential Revision: https://phab.mercurial-scm.org/D4750
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 24 Sep 2018 12:49:17 -0700 |
parents | 9596cf2a550d |
children | a269fa55467e |
line wrap: on
line diff
--- a/mercurial/filelog.py Mon Sep 24 12:42:03 2018 -0700 +++ b/mercurial/filelog.py Mon Sep 24 12:49:17 2018 -0700 @@ -73,10 +73,6 @@ def iscensored(self, rev): return self._revlog.iscensored(rev) - # Unused. - def rawsize(self, rev): - return self._revlog.rawsize(rev) - # Might be unused. def checkhash(self, text, node, p1=None, p2=None, rev=None): return self._revlog.checkhash(text, node, p1=p1, p2=p2, rev=rev)