D4636: changegroup: improve the devel-warn to specify changelog was empty

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Tue Sep 18 13:48:00 EDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG9b07ee0a1054: changegroup: improve the devel-warn to specify changelog was empty (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D4636?vs=11135&id=11143

REVISION DETAIL
  https://phab.mercurial-scm.org/D4636

AFFECTED FILES
  mercurial/changegroup.py

CHANGE DETAILS

diff --git a/mercurial/changegroup.py b/mercurial/changegroup.py
--- a/mercurial/changegroup.py
+++ b/mercurial/changegroup.py
@@ -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



To: pulkit, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list