comparison mercurial/revlog.py @ 42988:f4caf910669e

flagprocessors: writetransform function take side data as parameter (API) If we want some flag processors to be able to store sidedata it needs to be actually fed that data. Differential Revision: https://phab.mercurial-scm.org/D6816
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 04 Sep 2019 00:53:27 +0200
parents 36a0a1951d64
children a04b2c010d03
comparison
equal deleted inserted replaced
42987:36a0a1951d64 42988:f4caf910669e
113 113
114 # Flag processors for REVIDX_ELLIPSIS. 114 # Flag processors for REVIDX_ELLIPSIS.
115 def ellipsisreadprocessor(rl, text): 115 def ellipsisreadprocessor(rl, text):
116 return text, False, {} 116 return text, False, {}
117 117
118 def ellipsiswriteprocessor(rl, text): 118 def ellipsiswriteprocessor(rl, text, sidedata):
119 return text, False 119 return text, False
120 120
121 def ellipsisrawprocessor(rl, text): 121 def ellipsisrawprocessor(rl, text):
122 return False 122 return False
123 123