diff --git a/mercurial/revlogutils/deltas.py b/mercurial/revlogutils/deltas.py --- a/mercurial/revlogutils/deltas.py +++ b/mercurial/revlogutils/deltas.py @@ -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: