comparison mercurial/configitems.py @ 34563:1faa34347b24

configitems: update default value of 'phases.new-commit' Now that mq is cleaned up, we can rely on the config register for the default value. We switch the default from the integer to human readable value to help with future automatic documentation that could be generated from the config register.
author Boris Feld <boris.feld@octobus.net>
date Mon, 09 Oct 2017 16:31:43 +0200
parents 4a6a337f9c68
children dc91580a0a88
comparison
equal deleted inserted replaced
34562:c2d2e18f9700 34563:1faa34347b24
394 ) 394 )
395 coreconfigitem('phases', 'checksubrepos', 395 coreconfigitem('phases', 'checksubrepos',
396 default='follow', 396 default='follow',
397 ) 397 )
398 coreconfigitem('phases', 'new-commit', 398 coreconfigitem('phases', 'new-commit',
399 default=dynamicdefault, 399 default='draft',
400 ) 400 )
401 coreconfigitem('phases', 'publish', 401 coreconfigitem('phases', 'publish',
402 default=True, 402 default=True,
403 ) 403 )
404 coreconfigitem('profiling', 'enabled', 404 coreconfigitem('profiling', 'enabled',