diff 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
line wrap: on
line diff
--- a/mercurial/revlogutils/sidedata.py	Wed Sep 04 03:19:58 2019 +0200
+++ b/mercurial/revlogutils/sidedata.py	Wed Sep 04 03:20:55 2019 +0200
@@ -77,3 +77,9 @@
 def sidedatarawprocessor(rl, text):
     # side data modifies rawtext and prevent rawtext hash validation
     return False
+
+processors = (
+    sidedatareadprocessor,
+    sidedatawriteprocessor,
+    sidedatarawprocessor,
+)