##// END OF EJS Templates
revlog: implement sidedata without using _revisiondata...
marmoute -
r48174:d6a52783 default
parent child Browse files
Show More
@@ -1976,7 +1976,12 b' class revlog(object):'
1976 mapping object will likely be used in the future for a more
1976 mapping object will likely be used in the future for a more
1977 efficient/lazy code.
1977 efficient/lazy code.
1978 """
1978 """
1979 return self._revisiondata(nodeorrev, _df)[1]
1979 # deal with <nodeorrev> argument type
1980 if isinstance(nodeorrev, int):
1981 rev = nodeorrev
1982 else:
1983 rev = self.rev(nodeorrev)
1984 return self._sidedata(rev)
1980
1985
1981 def _revisiondata(self, nodeorrev, _df=None, raw=False):
1986 def _revisiondata(self, nodeorrev, _df=None, raw=False):
1982 # deal with <nodeorrev> argument type
1987 # deal with <nodeorrev> argument type
General Comments 0
You need to be logged in to leave comments. Login now