# HG changeset patch # User Pierre-Yves David # Date 2019-09-02 15:06:15 # Node ID 38c62272f46208cbe84fb029a776e5d6cc6fc4da # Parent 4a3efe0febb5f69b01850a5fdd82d28c0a268d44 simplestorerepo: stop using `_processflags` directly We now use the specialized versions. Differential Revision: https://phab.mercurial-scm.org/D6805 diff --git a/tests/simplestorerepo.py b/tests/simplestorerepo.py --- a/tests/simplestorerepo.py +++ b/tests/simplestorerepo.py @@ -290,7 +290,11 @@ class filestorage(flagutil.flagprocessor 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)