comparison hgext/remotefilelog/__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 e387cb22f6c0
children 2c74337e6483
comparison
equal deleted inserted replaced
42759:791791a1fd4e 42760:9f2189b6bf2a
217 configitem('remotefilelog', 'includepattern', default=None) 217 configitem('remotefilelog', 'includepattern', default=None)
218 configitem('remotefilelog', 'excludepattern', default=None) 218 configitem('remotefilelog', 'excludepattern', default=None)
219 219
220 configitem('remotefilelog', 'gcrepack', default=False) 220 configitem('remotefilelog', 'gcrepack', default=False)
221 configitem('remotefilelog', 'repackonhggc', default=False) 221 configitem('remotefilelog', 'repackonhggc', default=False)
222 configitem('repack', 'chainorphansbysize', default=True) 222 configitem('repack', 'chainorphansbysize', default=True, experimental=True)
223 223
224 configitem('packs', 'maxpacksize', default=0) 224 configitem('packs', 'maxpacksize', default=0)
225 configitem('packs', 'maxchainlen', default=1000) 225 configitem('packs', 'maxchainlen', default=1000)
226 226
227 # default TTL limit is 30 days 227 # default TTL limit is 30 days