Mercurial > hg
changeset 42878:1ebf1a1e14dd
flagprocessors: use _processflagsraw in easy cases
When there are no ambiguity regarding the `raw` value, we can simply use the new
method.
Differential Revision: https://phab.mercurial-scm.org/D6803
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 30 Aug 2019 19:13:12 +0200 |
parents | a3665eed228f |
children | 4a3efe0febb5 |
files | mercurial/revlogutils/deltas.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/revlogutils/deltas.py Fri Aug 30 19:10:15 2019 +0200 +++ b/mercurial/revlogutils/deltas.py Fri Aug 30 19:13:12 2019 +0200 @@ -521,8 +521,7 @@ fulltext = mdiff.patch(basetext, delta) try: - res = revlog._processflags(fulltext, flags, 'read', raw=True) - fulltext, validatehash = res + validatehash = revlog._processflagsraw(fulltext, flags) if validatehash: revlog.checkhash(fulltext, expectednode, p1=p1, p2=p2) if flags & REVIDX_ISCENSORED: