# HG changeset patch # User Pulkit Goyal # Date 1537197677 -10800 # Node ID 9b07ee0a10547e3289ded89c7aa4200755ac9066 # Parent 3f11cb1aeb90726cfe487143af14595b3f240639 changegroup: improve the devel-warn to specify changelog was empty Right now, the develwarn says "applied empty changegroup" which is not correct because we can send a changegroup without changelog with just manifest and filelogs and it will still say the same. Let's fix this to say that we are applying empty changelog from changegroup. In future patches I am will be adding functionality to send a changegroup from the server without an empty changelog. Differential Revision: https://phab.mercurial-scm.org/D4636 diff -r 3f11cb1aeb90 -r 9b07ee0a1054 mercurial/changegroup.py --- a/mercurial/changegroup.py Mon Sep 17 13:21:46 2018 +0800 +++ b/mercurial/changegroup.py Mon Sep 17 18:21:17 2018 +0300 @@ -313,7 +313,7 @@ efiles = len(efiles) if not cgnodes: - repo.ui.develwarn('applied empty changegroup', + repo.ui.develwarn('applied empty changelog from changegroup', config='warn-empty-changegroup') clend = len(cl) changesets = clend - clstart