Mercurial > hg-stable
changeset 42883:a3665eed228f
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
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 30 Aug 2019 19:10:15 +0200 |
parents | db4af1cb128a |
children | 1ebf1a1e14dd |
files | hgext/remotefilelog/remotefilelog.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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):