##// END OF EJS Templates
revlog: split a `_revisiondata` method to file `revision` job...
marmoute -
r42944:38923378 default
parent child Browse files
Show More
@@ -1651,6 +1651,9 b' class revlog(object):'
1651 treated as raw data when applying flag transforms. 'raw' should be set
1651 treated as raw data when applying flag transforms. 'raw' should be set
1652 to True when generating changegroups or in debug commands.
1652 to True when generating changegroups or in debug commands.
1653 """
1653 """
1654 return self._revisiondata(nodeorrev, _df, raw=raw)
1655
1656 def _revisiondata(self, nodeorrev, _df=None, raw=False):
1654 if isinstance(nodeorrev, int):
1657 if isinstance(nodeorrev, int):
1655 rev = nodeorrev
1658 rev = nodeorrev
1656 node = self.node(rev)
1659 node = self.node(rev)
General Comments 0
You need to be logged in to leave comments. Login now