Mercurial > public > mercurial-scm > hg
diff 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 |
line wrap: on
line diff
--- a/mercurial/revlogutils/flagutil.py Thu Aug 08 01:03:01 2019 +0200 +++ b/mercurial/revlogutils/flagutil.py Thu Aug 08 01:04:48 2019 +0200 @@ -28,4 +28,8 @@ REVIDX_KNOWN_FLAGS REVIDX_RAWTEXT_CHANGING_FLAGS +# Store flag processors (cf. 'addflagprocessor()' to register) +flagprocessors = { + REVIDX_ISCENSORED: None, +}