##// END OF EJS Templates
revlog: drop the df argument to `revision`...
marmoute -
r51915:33d2f016 default
parent child Browse files
Show More
@@ -107,8 +107,8 b' class filelog:'
107 def iscensored(self, rev):
107 def iscensored(self, rev):
108 return self._revlog.iscensored(rev)
108 return self._revlog.iscensored(rev)
109
109
110 def revision(self, node, _df=None):
110 def revision(self, node):
111 return self._revlog.revision(node, _df=_df)
111 return self._revlog.revision(node)
112
112
113 def rawdata(self, node, _df=None):
113 def rawdata(self, node, _df=None):
114 return self._revlog.rawdata(node, _df=_df)
114 return self._revlog.rawdata(node, _df=_df)
@@ -1282,7 +1282,7 b' class imanifeststorage(interfaceutil.Int'
1282 def linkrev(rev):
1282 def linkrev(rev):
1283 """Obtain the changeset revision number a revision is linked to."""
1283 """Obtain the changeset revision number a revision is linked to."""
1284
1284
1285 def revision(node, _df=None):
1285 def revision(node):
1286 """Obtain fulltext data for a node."""
1286 """Obtain fulltext data for a node."""
1287
1287
1288 def rawdata(node, _df=None):
1288 def rawdata(node, _df=None):
@@ -1821,8 +1821,8 b' class manifestrevlog:'
1821 def checksize(self):
1821 def checksize(self):
1822 return self._revlog.checksize()
1822 return self._revlog.checksize()
1823
1823
1824 def revision(self, node, _df=None):
1824 def revision(self, node):
1825 return self._revlog.revision(node, _df=_df)
1825 return self._revlog.revision(node)
1826
1826
1827 def rawdata(self, node, _df=None):
1827 def rawdata(self, node, _df=None):
1828 return self._revlog.rawdata(node, _df=_df)
1828 return self._revlog.rawdata(node, _df=_df)
@@ -1954,13 +1954,11 b' class revlog:'
1954
1954
1955 return mdiff.textdiff(self.rawdata(rev1), self.rawdata(rev2))
1955 return mdiff.textdiff(self.rawdata(rev1), self.rawdata(rev2))
1956
1956
1957 def revision(self, nodeorrev, _df=None):
1957 def revision(self, nodeorrev):
1958 """return an uncompressed revision of a given node or revision
1958 """return an uncompressed revision of a given node or revision
1959 number.
1959 number.
1960
1961 _df - an existing file handle to read from. (internal-only)
1962 """
1960 """
1963 return self._revisiondata(nodeorrev, _df)
1961 return self._revisiondata(nodeorrev)
1964
1962
1965 def sidedata(self, nodeorrev, _df=None):
1963 def sidedata(self, nodeorrev, _df=None):
1966 """a map of extra data related to the changeset but not part of the hash
1964 """a map of extra data related to the changeset but not part of the hash
General Comments 0
You need to be logged in to leave comments. Login now