# HG changeset patch # User Pierre-Yves David # Date 1567185192 -7200 # Node ID 1ebf1a1e14dd5f15aaabb3aa62ab640469ac1b5f # Parent a3665eed228f19970e224add64d3175283d0d4ae 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 diff -r a3665eed228f -r 1ebf1a1e14dd mercurial/revlogutils/deltas.py --- 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: