diff 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
line wrap: on
line diff
--- a/mercurial/revlog.py	Wed Sep 04 00:13:45 2019 +0200
+++ b/mercurial/revlog.py	Wed Sep 04 00:34:03 2019 +0200
@@ -113,7 +113,7 @@
 
 # Flag processors for REVIDX_ELLIPSIS.
 def ellipsisreadprocessor(rl, text):
-    return text, False
+    return text, False, {}
 
 def ellipsiswriteprocessor(rl, text):
     return text, False