##// END OF EJS Templates
revlog: introduce a `sidedata` method...
marmoute -
r43250:0d127278 default
parent child Browse files
Show More
@@ -1616,6 +1616,16 b' class revlog(flagutil.flagprocessorsmixi'
1616 util.nouideprecwarn(msg, '5.2', stacklevel=2)
1616 util.nouideprecwarn(msg, '5.2', stacklevel=2)
1617 return self._revisiondata(nodeorrev, _df, raw=raw)
1617 return self._revisiondata(nodeorrev, _df, raw=raw)
1618
1618
1619 def sidedata(self, nodeorrev, _df=None):
1620 """a map of extra data related to the changeset but not part of the hash
1621
1622 This function currently return a dictionary. However, more advanced
1623 mapping object will likely be used in the future for a more
1624 efficient/lazy code.
1625 """
1626 # XXX will actualy return data once storage is implemented.
1627 return {}
1628
1619 def _revisiondata(self, nodeorrev, _df=None, raw=False):
1629 def _revisiondata(self, nodeorrev, _df=None, raw=False):
1620 # deal with <nodeorrev> argument type
1630 # deal with <nodeorrev> argument type
1621 if isinstance(nodeorrev, int):
1631 if isinstance(nodeorrev, int):
General Comments 0
You need to be logged in to leave comments. Login now