rawdata: implement the method for `remotefilelog` too
This is needed for all storage implementations.
--- a/hgext/remotefilelog/remotefilelog.py Wed Aug 07 20:48:05 2019 +0200
+++ b/hgext/remotefilelog/remotefilelog.py Wed Aug 07 20:51:52 2019 +0200
@@ -324,6 +324,9 @@
text, verifyhash = self._processflags(rawtext, flags, 'read')
return text
+ def rawdata(self, node):
+ return self.revision(node, raw=False)
+
def _processflags(self, text, flags, operation, raw=False):
# mostly copied from hg/mercurial/revlog.py
validatehash = True