D6892: sidedata: add a function for _processflagsraw usage

marmoute (Pierre-Yves David) phabricator at mercurial-scm.org
Tue Oct 1 18:22:54 UTC 2019


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

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



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


More information about the Mercurial-devel mailing list