Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/revlogutils/flagutil.py @ 43037:142deb539ccf
sidedata: register the flag processors if the repository allows for it
Differential Revision: https://phab.mercurial-scm.org/D6893
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 04 Sep 2019 03:20:55 +0200 |
parents | 73288e7abe9b |
children | 2372284d9457 |
comparison
equal
deleted
inserted
replaced
43036:e8bc4c3d9a0b | 43037:142deb539ccf |
---|---|
15 REVIDX_ELLIPSIS, | 15 REVIDX_ELLIPSIS, |
16 REVIDX_EXTSTORED, | 16 REVIDX_EXTSTORED, |
17 REVIDX_FLAGS_ORDER, | 17 REVIDX_FLAGS_ORDER, |
18 REVIDX_ISCENSORED, | 18 REVIDX_ISCENSORED, |
19 REVIDX_RAWTEXT_CHANGING_FLAGS, | 19 REVIDX_RAWTEXT_CHANGING_FLAGS, |
20 REVIDX_SIDEDATA, | |
20 ) | 21 ) |
21 | 22 |
22 from .. import ( | 23 from .. import ( |
23 error, | 24 error, |
24 util | 25 util |
27 # blanked usage of all the name to prevent pyflakes constraints | 28 # blanked usage of all the name to prevent pyflakes constraints |
28 # We need these name available in the module for extensions. | 29 # We need these name available in the module for extensions. |
29 REVIDX_ISCENSORED | 30 REVIDX_ISCENSORED |
30 REVIDX_ELLIPSIS | 31 REVIDX_ELLIPSIS |
31 REVIDX_EXTSTORED | 32 REVIDX_EXTSTORED |
33 REVIDX_SIDEDATA | |
32 REVIDX_DEFAULT_FLAGS | 34 REVIDX_DEFAULT_FLAGS |
33 REVIDX_FLAGS_ORDER | 35 REVIDX_FLAGS_ORDER |
34 REVIDX_RAWTEXT_CHANGING_FLAGS | 36 REVIDX_RAWTEXT_CHANGING_FLAGS |
35 | 37 |
36 REVIDX_KNOWN_FLAGS = util.bitsfrom(REVIDX_FLAGS_ORDER) | 38 REVIDX_KNOWN_FLAGS = util.bitsfrom(REVIDX_FLAGS_ORDER) |