changeset 42982:9d62f9fa332f

revlog: use the new sidedata map return in the sidedata method So far things, seems logical. Differential Revision: https://phab.mercurial-scm.org/D6810
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 03 Sep 2019 22:36:41 +0200
parents 35ab2c1a58aa
children a45d670c2bfc
files mercurial/revlog.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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