##// END OF EJS Templates
bundle2: prefix all bundling debug messages with 'bundle2-ouput:'...
Pierre-Yves David -
r25314:18c2bcc2 default
parent child Browse files
Show More
@@ -175,7 +175,7 b' preferedchunksize = 4096'
175 175
176 176 def outdebug(ui, message):
177 177 """debug regarding output stream (bundling)"""
178 ui.debug(message)
178 ui.debug('bundle2-output: %s' % message)
179 179
180 180 def validateparttype(parttype):
181 181 """raise ValueError if a parttype contains invalid character"""
@@ -337,10 +337,10 b' Test debug output'
337 337 bundling debug
338 338
339 339 $ hg bundle2 --debug --param 'e|! 7/=babar%#==tutu' --param simple ../out.hg2 --config progress.debug=true
340 start emission of HG20 stream
341 bundle parameter: e%7C%21%207/=babar%25%23%3D%3Dtutu simple
342 start of parts
343 end of bundle
340 bundle2-output: start emission of HG20 stream
341 bundle2-output: bundle parameter: e%7C%21%207/=babar%25%23%3D%3Dtutu simple
342 bundle2-output: start of parts
343 bundle2-output: end of bundle
344 344
345 345 file content is ok
346 346
@@ -384,17 +384,17 b' Test part'
384 384 =================
385 385
386 386 $ hg bundle2 --parts ../parts.hg2 --debug --config progress.debug=true
387 start emission of HG20 stream
388 bundle parameter:
389 start of parts
390 bundle part: "test:empty"
391 bundle part: "test:empty"
392 bundle part: "test:song"
393 bundle part: "test:debugreply"
394 bundle part: "test:math"
395 bundle part: "test:song"
396 bundle part: "test:ping"
397 end of bundle
387 bundle2-output: start emission of HG20 stream
388 bundle2-output: bundle parameter:
389 bundle2-output: start of parts
390 bundle2-output: bundle part: "test:empty"
391 bundle2-output: bundle part: "test:empty"
392 bundle2-output: bundle part: "test:song"
393 bundle2-output: bundle part: "test:debugreply"
394 bundle2-output: bundle part: "test:math"
395 bundle2-output: bundle part: "test:song"
396 bundle2-output: bundle part: "test:ping"
397 bundle2-output: end of bundle
398 398
399 399 $ cat ../parts.hg2
400 400 HG20\x00\x00\x00\x00\x00\x00\x00\x11 (esc)
@@ -711,10 +711,10 b' Support for changegroup'
711 711 9520eea781bcca16c1e15acc0ba14335a0e8e5ba
712 712 eea13746799a9e0bfd88f29d3c2e9dc9389f524f
713 713 02de42196ebee42ef284b6780a87cdc96e8eaab6
714 start emission of HG20 stream
715 bundle parameter:
716 start of parts
717 bundle part: "changegroup"
714 bundle2-output: start emission of HG20 stream
715 bundle2-output: bundle parameter:
716 bundle2-output: start of parts
717 bundle2-output: bundle part: "changegroup"
718 718 bundling: 1/4 changesets (25.00%)
719 719 bundling: 2/4 changesets (50.00%)
720 720 bundling: 3/4 changesets (75.00%)
@@ -726,7 +726,7 b' Support for changegroup'
726 726 bundling: D 1/3 files (33.33%)
727 727 bundling: E 2/3 files (66.67%)
728 728 bundling: H 3/3 files (100.00%)
729 end of bundle
729 bundle2-output: end of bundle
730 730
731 731 $ cat ../rev.hg2
732 732 HG20\x00\x00\x00\x00\x00\x00\x00\x12\x0bchangegroup\x00\x00\x00\x00\x00\x00\x00\x00\x06\x13\x00\x00\x00\xa42\xafv\x86\xd4\x03\xcfE\xb5\xd9_-p\xce\xbe\xa5\x87\xac\x80j_\xdd\xd9\x89W\xc8\xa5JMCm\xfe\x1d\xa9\xd8\x7f!\xa1\xb9{\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x002\xafv\x86\xd4\x03\xcfE\xb5\xd9_-p\xce\xbe\xa5\x87\xac\x80j\x00\x00\x00\x00\x00\x00\x00)\x00\x00\x00)6e1f4c47ecb533ffd0c8e52cdc88afb6cd39e20c (esc)
General Comments 0
You need to be logged in to leave comments. Login now