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

flagprocessors: use _processflagsread in simple cases

When there are no ambiguity regarding the `raw` value, we can simply use the new
method.

Differential Revision: https://phab.mercurial-scm.org/D6802
parent db4af1cb
No related branches found
No related tags found
No related merge requests found
......@@ -324,7 +324,7 @@
flags = store.getmeta(self.filename, node).get(constants.METAKEYFLAG, 0)
if flags == 0:
return rawtext
text, verifyhash = self._processflags(rawtext, flags, 'read')
text, verifyhash = self._processflagsread(rawtext, flags)
return text
def rawdata(self, node):
......
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