Submitter | Boris Feld |
---|---|
Date | Oct. 16, 2017, 10:17 a.m. |
Message ID | <b3b1e118238d5897da17.1508149035@FB> |
Download | mbox | patch |
Permalink | /patch/24973/ |
State | Accepted |
Headers | show |
Comments
Patch
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',