comparison 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
comparison
equal deleted inserted replaced
39874:9596cf2a550d 39875:d909c44d29e1
70 def deltaparent(self, rev): 70 def deltaparent(self, rev):
71 return self._revlog.deltaparent(rev) 71 return self._revlog.deltaparent(rev)
72 72
73 def iscensored(self, rev): 73 def iscensored(self, rev):
74 return self._revlog.iscensored(rev) 74 return self._revlog.iscensored(rev)
75
76 # Unused.
77 def rawsize(self, rev):
78 return self._revlog.rawsize(rev)
79 75
80 # Might be unused. 76 # Might be unused.
81 def checkhash(self, text, node, p1=None, p2=None, rev=None): 77 def checkhash(self, text, node, p1=None, p2=None, rev=None):
82 return self._revlog.checkhash(text, node, p1=p1, p2=p2, rev=rev) 78 return self._revlog.checkhash(text, node, p1=p1, p2=p2, rev=rev)
83 79