comparison mercurial/revlogutils/flagutil.py @ 42729:05c80f9ef100

flagutil: move the `flagprocessors` mapping in the new module This module is meant to host most of the flag processing logic. We start with the mapping between flag and processors.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 08 Aug 2019 01:04:48 +0200
parents ca5ca3badd3c
children 92ac6b1697a7
comparison
equal deleted inserted replaced
42728:ca5ca3badd3c 42729:05c80f9ef100
26 REVIDX_DEFAULT_FLAGS 26 REVIDX_DEFAULT_FLAGS
27 REVIDX_FLAGS_ORDER 27 REVIDX_FLAGS_ORDER
28 REVIDX_KNOWN_FLAGS 28 REVIDX_KNOWN_FLAGS
29 REVIDX_RAWTEXT_CHANGING_FLAGS 29 REVIDX_RAWTEXT_CHANGING_FLAGS
30 30
31 # Store flag processors (cf. 'addflagprocessor()' to register)
32 flagprocessors = {
33 REVIDX_ISCENSORED: None,
34 }
31 35