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
--- 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: