##// END OF EJS Templates
rawdata: introduce a `rawdata` method on revlog...
marmoute -
r42945:415e4136 default
parent child Browse files
Show More
@@ -1720,6 +1720,13 b' class revlog(object):'
1720
1720
1721 return text
1721 return text
1722
1722
1723 def rawdata(self, nodeorrev, _df=None, raw=False):
1724 """return an uncompressed raw data of a given node or revision number.
1725
1726 _df - an existing file handle to read from. (internal-only)
1727 """
1728 return self._revisiondata(nodeorrev, _df, raw=True)
1729
1723 def hash(self, text, p1, p2):
1730 def hash(self, text, p1, p2):
1724 """Compute a node hash.
1731 """Compute a node hash.
1725
1732
General Comments 0
You need to be logged in to leave comments. Login now