##// END OF EJS Templates
configitems: update default value of 'phases.new-commit'...
Boris Feld -
r34564:1faa3434 default
parent child Browse files
Show More
@@ -396,7 +396,7 b" 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,
@@ -619,7 +619,7 b' def newcommitphase(ui):'
619 Handle all possible values for the phases.new-commit options.
619 Handle all possible values for the phases.new-commit options.
620
620
621 """
621 """
622 v = ui.config('phases', 'new-commit', draft)
622 v = ui.config('phases', 'new-commit')
623 try:
623 try:
624 return phasenames.index(v)
624 return phasenames.index(v)
625 except ValueError:
625 except ValueError:
General Comments 0
You need to be logged in to leave comments. Login now