diff tests/test-revlog-raw.py @ 42985:bd5858c28bbe

flagprocessors: have the read transform function return side data (API) This makes it possible for flag processors to -read- flag data. Differential Revision: https://phab.mercurial-scm.org/D6813
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 04 Sep 2019 00:34:03 +0200
parents 740450677221
children f4caf910669e
line wrap: on
line diff
--- a/tests/test-revlog-raw.py	Wed Sep 04 00:13:45 2019 +0200
+++ b/tests/test-revlog-raw.py	Wed Sep 04 00:34:03 2019 +0200
@@ -45,7 +45,7 @@
 def readprocessor(self, rawtext):
     # True: the returned text could be used to verify hash
     text = rawtext[len(_extheader):].replace(b'i', b'1')
-    return text, True
+    return text, True, {}
 
 def writeprocessor(self, text):
     # False: the returned rawtext shouldn't be used to verify hash