diff mercurial/configitems.py @ 34705:23ed47a895d5

config: graduate experimental.updatecheck to commands.update.check .. feature:: New `commands.update.check` feature to adjust constraints on when `hg update` will allow updates with a dirty working copy. also .. bc:: The `experimental.updatecheck` name for the new `commands.update.check` feature is now deprecated, and will be removed after this release. Differential Revision: https://phab.mercurial-scm.org/D1070
author Augie Fackler <augie@google.com>
date Sat, 14 Oct 2017 03:13:50 -0400
parents 16d73491416b
children 3572b2031cec
line wrap: on
line diff
--- a/mercurial/configitems.py	Sat Oct 14 15:42:38 2017 -0400
+++ b/mercurial/configitems.py	Sat Oct 14 03:13:50 2017 -0400
@@ -179,6 +179,9 @@
 coreconfigitem('commands', 'status.verbose',
     default=False,
 )
+coreconfigitem('commands', 'update.check',
+    default=None,
+)
 coreconfigitem('commands', 'update.requiredest',
     default=False,
 )
@@ -409,6 +412,7 @@
 coreconfigitem('experimental', 'treemanifest',
     default=False,
 )
+# Deprecated, remove after 4.4 release
 coreconfigitem('experimental', 'updatecheck',
     default=None,
 )