Skip to content
Snippets Groups Projects
Commit 38c62272 authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

simplestorerepo: stop using `_processflags` directly

We now use the specialized versions.

Differential Revision: https://phab.mercurial-scm.org/D6805
parent 4a3efe0f
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment