changeset 42723:2128c76c8970

rawdata: forward `rawdata` call on `manifestlog` This needs to be sent to the underlying `revlog` too.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 07 Aug 2019 22:08:04 +0200
parents c9f3f4c8999a
children 2177133724ab
files mercurial/manifest.py mercurial/repository.py
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/manifest.py	Wed Aug 07 22:01:52 2019 +0200
+++ b/mercurial/manifest.py	Wed Aug 07 22:08:04 2019 +0200
@@ -1620,6 +1620,9 @@
     def revision(self, node, _df=None, raw=False):
         return self._revlog.revision(node, _df=_df, raw=raw)
 
+    def rawdata(self, node, _df=None):
+        return self._revlog.rawdata(node, _df=_df)
+
     def revdiff(self, rev1, rev2):
         return self._revlog.revdiff(rev1, rev2)
 
--- a/mercurial/repository.py	Wed Aug 07 22:01:52 2019 +0200
+++ b/mercurial/repository.py	Wed Aug 07 22:08:04 2019 +0200
@@ -1164,6 +1164,9 @@
     def revision(node, _df=None, raw=False):
         """Obtain fulltext data for a node."""
 
+    def rawdata(node, _df=None):
+        """Obtain raw data for a node."""
+
     def revdiff(rev1, rev2):
         """Obtain a delta between two revision numbers.