Patchwork D6892: sidedata: add a function for _processflagsraw usage

login
register
mail settings
Submitter phabricator
Date Oct. 1, 2019, 6:22 p.m.
Message ID <f523578e03205442c50c5784aff3287f@localhost.localdomain>
Download mbox | patch
Permalink /patch/41913/
State Not Applicable
Headers show

Comments

phabricator - Oct. 1, 2019, 6:22 p.m.
Closed by commit rHGe8bc4c3d9a0b: sidedata: add a function for _processflagsraw usage (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/D6892?vs=16650&id=16764

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

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

AFFECTED FILES
  mercurial/revlogutils/sidedata.py

CHANGE DETAILS




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

Patch

diff --git a/mercurial/revlogutils/sidedata.py b/mercurial/revlogutils/sidedata.py
--- a/mercurial/revlogutils/sidedata.py
+++ b/mercurial/revlogutils/sidedata.py
@@ -73,3 +73,7 @@ 
         dataoffset = nextdataoffset
     text = text[dataoffset:]
     return text, True, sidedata
+
+def sidedatarawprocessor(rl, text):
+    # side data modifies rawtext and prevent rawtext hash validation
+    return False