Patchwork D6810: revlog: use the new sidedata map return in the sidedata method

login
register
mail settings
Submitter phabricator
Date Sept. 7, 2019, 9:28 a.m.
Message ID <differential-rev-PHID-DREV-h6fe5aai4ncbicdfmqw4-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/41516/
State New
Headers show

Comments

phabricator - Sept. 7, 2019, 9:28 a.m.
marmoute created this revision.
marmoute added reviewers: yuja, durin42.
Herald added a reviewer: indygreg.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  So far things, seems logical.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D6810

AFFECTED FILES
  mercurial/revlog.py

CHANGE DETAILS




To: marmoute, yuja, durin42, indygreg, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/mercurial/revlog.py b/mercurial/revlog.py
--- a/mercurial/revlog.py
+++ b/mercurial/revlog.py
@@ -1619,8 +1619,8 @@ 
         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 {}
+        text, sidemeta = self._revision(nodeorrev, _df)[1]
+        return sidemeta
 
     def _revisiondata(self, nodeorrev, _df=None, raw=False):
         # deal with <nodeorrev> argument type