devel-warn: add 'warn-' to 'devel.empty-changegroup' config
Rename 'devel.empty-changegroup' to 'devel.warn-empty- changegroup' in order
to clarify it controls a warning message.
No alias is installed since the previous configuration option was not
documented.
--- a/mercurial/changegroup.py Sun Oct 15 00:05:00 2017 -0400
+++ b/mercurial/changegroup.py Sun Oct 08 21:42:32 2017 +0200
@@ -313,7 +313,7 @@
if not cgnodes:
repo.ui.develwarn('applied empty changegroup',
- config='empty-changegroup')
+ config='warn-empty-changegroup')
clend = len(cl)
changesets = clend - clstart
repo.ui.progress(_('changesets'), None)
--- a/mercurial/configitems.py Sun Oct 15 00:05:00 2017 -0400
+++ b/mercurial/configitems.py Sun Oct 08 21:42:32 2017 +0200
@@ -220,7 +220,7 @@
coreconfigitem('devel', 'disableloaddefaultcerts',
default=False,
)
-coreconfigitem('devel', 'empty-changegroup',
+coreconfigitem('devel', 'warn-empty-changegroup',
default=False,
)
coreconfigitem('devel', 'legacy.exchange',