D6803: flagprocessors: use _processflagsraw in easy cases

marmoute (Pierre-Yves David) phabricator at mercurial-scm.org
Sat Sep 7 13:03:53 EDT 2019


Closed by commit rHG1ebf1a1e14dd: flagprocessors: use _processflagsraw in easy cases (authored by marmoute).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6803?vs=16408&id=16441

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D6803/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D6803

AFFECTED FILES
  mercurial/revlogutils/deltas.py

CHANGE DETAILS

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:



To: marmoute, yuja, durin42, #hg-reviewers, indygreg
Cc: mercurial-devel


More information about the Mercurial-devel mailing list