diff --git a/mercurial/changegroup.py b/mercurial/changegroup.py --- a/mercurial/changegroup.py +++ b/mercurial/changegroup.py @@ -313,7 +313,7 @@ class cg1unpacker(object): 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', 'deprec-warn', coreconfigitem('devel', 'disableloaddefaultcerts', default=False, ) -coreconfigitem('devel', 'empty-changegroup', +coreconfigitem('devel', 'warn-empty-changegroup', default=False, ) coreconfigitem('devel', 'legacy.exchange',