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
--- a/hgext/remotefilelog/remotefilelog.py Fri Aug 30 19:07:49 2019 +0200
+++ b/hgext/remotefilelog/remotefilelog.py Fri Aug 30 19:10:15 2019 +0200
@@ -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):