diff mercurial/bundle2.py @ 25319:c3ef4f3b8680

bundle2: prefix all unbundling debug message with 'bundle2-input:' This make the origin of the message more explicit.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Tue, 26 May 2015 20:40:21 -0700
parents 64dd8f25fcf4
children 697d8953b04d
line wrap: on
line diff
--- a/mercurial/bundle2.py	Tue May 26 22:48:52 2015 -0700
+++ b/mercurial/bundle2.py	Tue May 26 20:40:21 2015 -0700
@@ -179,7 +179,7 @@
 
 def indebug(ui, message):
     """debug on input stream (unbundling)"""
-    ui.debug(message)
+    ui.debug('bundle2-input: %s' % message)
 
 def validateparttype(parttype):
     """raise ValueError if a parttype contains invalid character"""