Patchwork D6803: flagprocessors: use _processflagsraw in easy cases

login
register
mail settings
Submitter phabricator
Date Sept. 7, 2019, 5:03 p.m.
Message ID <a2ff6c9af6c33ed1ebecc90327b7fa51@localhost.localdomain>
Download mbox | patch
Permalink /patch/41551/
State Not Applicable
Headers show

Comments

phabricator - Sept. 7, 2019, 5:03 p.m.
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




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

Patch

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: