rawdata: add the method to bundlerevlog
The bundlerepo logic has its own `revision` method on its own `revlog` object.
We need to "implement" `rawdata` there too.
--- a/mercurial/bundlerepo.py Wed Aug 07 21:59:20 2019 +0200
+++ b/mercurial/bundlerepo.py Wed Aug 07 22:00:57 2019 +0200
@@ -146,6 +146,9 @@
self._revisioncache = (node, rev, rawtext)
return text
+ def rawdata(self, nodeorrev, _df=None):
+ return self.revision(nodeorrev, _df=_df, raw=True)
+
def baserevision(self, nodeorrev):
# Revlog subclasses may override 'revision' method to modify format of
# content retrieved from revlog. To use bundlerevlog with such class one