tests/simplestorerepo.py
changeset 42880 38c62272f462
parent 42876 db4af1cb128a
child 42983 a45d670c2bfc
--- a/tests/simplestorerepo.py	Mon Sep 02 17:05:52 2019 +0200
+++ b/tests/simplestorerepo.py	Mon Sep 02 17:06:15 2019 +0200
@@ -290,7 +290,11 @@
         path = b'/'.join([self._storepath, hex(node)])
         rawtext = self._svfs.read(path)
 
-        text, validatehash = self._processflags(rawtext, flags, 'read', raw=raw)
+        if raw:
+            validatehash = self._processflagsraw(rawtext, flags)
+            text = rawtext
+        else:
+            text, validatehash = self._processflagsread(rawtext, flags)
         if validatehash:
             self.checkhash(text, node, rev=rev)