# HG changeset patch # User Pierre-Yves David # Date 1565203912 -7200 # Node ID 7492899c6fc6c479d8ac3c9e123490e06272af24 # Parent 2177133724abd5a62a10faa58c7ff75871eea10f rawdata: implement the method for `remotefilelog` too This is needed for all storage implementations. diff -r 2177133724ab -r 7492899c6fc6 hgext/remotefilelog/remotefilelog.py --- 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