comparison mercurial/revlog.py @ 42985:bd5858c28bbe

flagprocessors: have the read transform function return side data (API) This makes it possible for flag processors to -read- flag data. Differential Revision: https://phab.mercurial-scm.org/D6813
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 04 Sep 2019 00:34:03 +0200
parents a45d670c2bfc
children 33532939c667
comparison
equal deleted inserted replaced
42984:66dc5a522f37 42985:bd5858c28bbe
111 _maxinline = 131072 111 _maxinline = 131072
112 _chunksize = 1048576 112 _chunksize = 1048576
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):
119 return text, False 119 return text, False
120 120
121 def ellipsisrawprocessor(rl, text): 121 def ellipsisrawprocessor(rl, text):