Mercurial > hg
comparison hgext/fsmonitor/__init__.py @ 42760:9f2189b6bf2a
config: add experimental argument to the config registrar
Until now, there are almost 28 config items which are considered as
`experimental` but, not present in the `experimental` section of
the registrar. This patch adds an `experimental` argument to the
config registrar to mark such config items.
Differential Revision: https://phab.mercurial-scm.org/D6728
Differential Revision: https://phab.mercurial-scm.org/D6746
author | Navaneeth Suresh <navaneeths1998@gmail.com> |
---|---|
date | Tue, 20 Aug 2019 18:35:16 +0300 |
parents | 684b56ade431 |
children | 2372284d9457 |
comparison
equal
deleted
inserted
replaced
42759:791791a1fd4e | 42760:9f2189b6bf2a |
---|---|
165 configitem('fsmonitor', 'watchman_exe', | 165 configitem('fsmonitor', 'watchman_exe', |
166 default='watchman', | 166 default='watchman', |
167 ) | 167 ) |
168 configitem('fsmonitor', 'verbose', | 168 configitem('fsmonitor', 'verbose', |
169 default=True, | 169 default=True, |
170 experimental=True, | |
170 ) | 171 ) |
171 configitem('experimental', 'fsmonitor.transaction_notify', | 172 configitem('experimental', 'fsmonitor.transaction_notify', |
172 default=False, | 173 default=False, |
173 ) | 174 ) |
174 | 175 |