comparison mercurial/configitems.py @ 34858:85a2db47ad50

configitems: adds a developer warning when accessing undeclared configuration Now that all known options are declared, we setup a warning to make sure it will stay this way. We disable the warning in two tests checking other behavior with random options.
author Boris Feld <boris.feld@octobus.net>
date Mon, 16 Oct 2017 17:41:27 +0200
parents f05a6e015ecc
children b1e3f609bf45
comparison
equal deleted inserted replaced
34857:84c6b9384d6a 34858:85a2db47ad50
247 default=None, 247 default=None,
248 ) 248 )
249 coreconfigitem('devel', 'user.obsmarker', 249 coreconfigitem('devel', 'user.obsmarker',
250 default=None, 250 default=None,
251 ) 251 )
252 coreconfigitem('devel', 'warn-config-unknown',
253 default=None,
254 )
252 coreconfigitem('diff', 'nodates', 255 coreconfigitem('diff', 'nodates',
253 default=False, 256 default=False,
254 ) 257 )
255 coreconfigitem('diff', 'showfunc', 258 coreconfigitem('diff', 'showfunc',
256 default=False, 259 default=False,