diff mercurial/changegroup.py @ 34734:3572b2031cec

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.
author Boris Feld <boris.feld@octobus.net>
date Sun, 08 Oct 2017 21:42:32 +0200
parents 05131c963767
children d80380ba8e7d
line wrap: on
line diff
--- 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)