comparison mercurial/revlogutils/sidedata.py @ 43037:142deb539ccf

sidedata: register the flag processors if the repository allows for it Differential Revision: https://phab.mercurial-scm.org/D6893
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 04 Sep 2019 03:20:55 +0200
parents e8bc4c3d9a0b
children ba4072c0a911
comparison
equal deleted inserted replaced
43036:e8bc4c3d9a0b 43037:142deb539ccf
75 return text, True, sidedata 75 return text, True, sidedata
76 76
77 def sidedatarawprocessor(rl, text): 77 def sidedatarawprocessor(rl, text):
78 # side data modifies rawtext and prevent rawtext hash validation 78 # side data modifies rawtext and prevent rawtext hash validation
79 return False 79 return False
80
81 processors = (
82 sidedatareadprocessor,
83 sidedatawriteprocessor,
84 sidedatarawprocessor,
85 )