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

login
register
mail settings
Submitter phabricator
Date Sept. 9, 2019, 9:23 p.m.
Message ID <e08ba58565d44524a4beab0006823fe5@localhost.localdomain>
Download mbox | patch
Permalink /patch/41605/
State Not Applicable
Headers show

Comments

phabricator - Sept. 9, 2019, 9:23 p.m.
marmoute updated this revision to Diff 16476.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6810?vs=16415&id=16476

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D6810/new/

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
@@ -1623,8 +1623,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