rawdata: implement `rawdata` for `sqlitestore` too
authorPierre-Yves David <pierre-yves.david@octobus.net>
Wed, 07 Aug 2019 22:01:52 +0200
changeset 42722 c9f3f4c8999a
parent 42721 161d39e9be4b
child 42723 2128c76c8970
rawdata: implement `rawdata` for `sqlitestore` too This is a different store, it needs it declared.
hgext/sqlitestore.py
--- a/hgext/sqlitestore.py	Wed Aug 07 22:00:57 2019 +0200
+++ b/hgext/sqlitestore.py	Wed Aug 07 22:01:52 2019 +0200
@@ -549,6 +549,9 @@
 
         return fulltext
 
+    def rawdata(self, *args, **kwargs):
+        return self.revision(*args, **kwargs)
+
     def read(self, node):
         return storageutil.filtermetadata(self.revision(node))