# HG changeset patch # User Boris Feld <boris.f...@octobus.net> # Date 1507491752 -7200 # Sun Oct 08 21:42:32 2017 +0200 # Node ID b3b1e118238d5897da17c41e66a1ce46ebc8096b # Parent a652b7763f669683eb5540c6d4b77ee18e55bc80 # EXP-Topic config.register.fixup # Available At https://bitbucket.org/octobus/mercurial-devel/ # hg pull https://bitbucket.org/octobus/mercurial-devel/ -r b3b1e118238d 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. diff --git a/mercurial/changegroup.py b/mercurial/changegroup.py --- a/mercurial/changegroup.py +++ b/mercurial/changegroup.py @@ -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) diff --git a/mercurial/configitems.py b/mercurial/configitems.py --- a/mercurial/configitems.py +++ b/mercurial/configitems.py @@ -220,7 +220,7 @@ coreconfigitem('devel', 'disableloaddefaultcerts', default=False, ) -coreconfigitem('devel', 'empty-changegroup', +coreconfigitem('devel', 'warn-empty-changegroup', default=False, ) coreconfigitem('devel', 'legacy.exchange', _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel