# HG changeset patch # User Pierre-Yves David # Date 2019-08-30 17:10:15 # Node ID a3665eed228f19970e224add64d3175283d0d4ae # Parent db4af1cb128a656bcb8ac7ac906c792632716b47 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 diff --git a/hgext/remotefilelog/remotefilelog.py b/hgext/remotefilelog/remotefilelog.py --- a/hgext/remotefilelog/remotefilelog.py +++ b/hgext/remotefilelog/remotefilelog.py @@ -324,7 +324,7 @@ class remotefilelog(flagutil.flagprocess 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):