revlog: use the new sidedata map return in the sidedata method
authorPierre-Yves David <pierre-yves.david@octobus.net>
Tue, 03 Sep 2019 22:36:41 +0200
changeset 42982 9d62f9fa332f
parent 42981 35ab2c1a58aa
child 42983 a45d670c2bfc
revlog: use the new sidedata map return in the sidedata method So far things, seems logical. Differential Revision: https://phab.mercurial-scm.org/D6810
mercurial/revlog.py
--- a/mercurial/revlog.py	Tue Sep 03 22:54:04 2019 +0200
+++ b/mercurial/revlog.py	Tue Sep 03 22:36:41 2019 +0200
@@ -1623,8 +1623,7 @@
         mapping object will likely be used in the future for a more
         efficient/lazy code.
         """
-        # XXX will actualy return data once storage is implemented.
-        return {}
+        return self._revisiondata(nodeorrev, _df)[1]
 
     def _revisiondata(self, nodeorrev, _df=None, raw=False):
         # deal with <nodeorrev> argument type