[PATCH 1 of 5] configitems: register the 'phases.new-commit' config

Boris Feld boris.feld at octobus.net
Wed Oct 4 14:33:40 UTC 2017


# HG changeset patch
# User Boris Feld <boris.feld at octobus.net>
# Date 1498787028 -7200
#      Fri Jun 30 03:43:48 2017 +0200
# Node ID 1b1349c23e37cfc6e82ea05ad4bbf8fbcfc9aa09
# Parent  2fd06499dc8e6a5a784b1334b925c289d7b54e4e
# EXP-Topic config.register.core
configitems: register the 'phases.new-commit' config

diff -r 2fd06499dc8e -r 1b1349c23e37 mercurial/configitems.py
--- a/mercurial/configitems.py	Thu Aug 24 18:40:30 2017 +0200
+++ b/mercurial/configitems.py	Fri Jun 30 03:43:48 2017 +0200
@@ -317,6 +317,9 @@
 coreconfigitem('phases', 'checksubrepos',
     default='follow',
 )
+coreconfigitem('phases', 'new-commit',
+    default=dynamicdefault,
+)
 coreconfigitem('phases', 'publish',
     default=True,
 )


More information about the Mercurial-devel mailing list