# HG changeset patch # User Pierre-Yves David # Date 2019-09-02 15:05:52 # Node ID 4a3efe0febb5f69b01850a5fdd82d28c0a268d44 # Parent 1ebf1a1e14dd5f15aaabb3aa62ab640469ac1b5f revlog: stop using `_processflags` directly We now use the specialized versions. Differential Revision: https://phab.mercurial-scm.org/D6804 diff --git a/mercurial/revlog.py b/mercurial/revlog.py --- a/mercurial/revlog.py +++ b/mercurial/revlog.py @@ -1649,7 +1649,11 @@ class revlog(flagutil.flagprocessorsmixi # no extra flags set, no flag processor runs, text = rawtext return rawtext - 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) if not validated: