Show More
@@ -472,6 +472,12 b' class bundle20(object):' | |||||
472 |
|
472 | |||
473 | # methods used to generate the bundle2 stream |
|
473 | # methods used to generate the bundle2 stream | |
474 | def getchunks(self): |
|
474 | def getchunks(self): | |
|
475 | if self.ui.debugflag: | |||
|
476 | msg = ['bundle2-output-bundle: "%s",' % self._magicstring] | |||
|
477 | if self._params: | |||
|
478 | msg.append(' (%i params)' % len(self._params)) | |||
|
479 | msg.append(' %i parts total\n' % len(self._parts)) | |||
|
480 | self.ui.debug(''.join(msg)) | |||
475 | outdebug(self.ui, 'start emission of %s stream' % self._magicstring) |
|
481 | outdebug(self.ui, 'start emission of %s stream' % self._magicstring) | |
476 | yield self._magicstring |
|
482 | yield self._magicstring | |
477 | param = self._paramchunk() |
|
483 | param = self._paramchunk() |
@@ -337,6 +337,7 b' Test debug output' | |||||
337 | bundling debug |
|
337 | bundling debug | |
338 |
|
338 | |||
339 | $ hg bundle2 --debug --param 'e|! 7/=babar%#==tutu' --param simple ../out.hg2 --config progress.debug=true |
|
339 | $ hg bundle2 --debug --param 'e|! 7/=babar%#==tutu' --param simple ../out.hg2 --config progress.debug=true | |
|
340 | bundle2-output-bundle: "HG20", (2 params) 0 parts total | |||
340 | bundle2-output: start emission of HG20 stream |
|
341 | 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: bundle parameter: e%7C%21%207/=babar%25%23%3D%3Dtutu simple | |
342 | bundle2-output: start of parts |
|
343 | bundle2-output: start of parts | |
@@ -384,6 +385,7 b' Test part' | |||||
384 | ================= |
|
385 | ================= | |
385 |
|
386 | |||
386 | $ hg bundle2 --parts ../parts.hg2 --debug --config progress.debug=true |
|
387 | $ hg bundle2 --parts ../parts.hg2 --debug --config progress.debug=true | |
|
388 | bundle2-output-bundle: "HG20", 7 parts total | |||
387 | bundle2-output: start emission of HG20 stream |
|
389 | bundle2-output: start emission of HG20 stream | |
388 | bundle2-output: bundle parameter: |
|
390 | bundle2-output: bundle parameter: | |
389 | bundle2-output: start of parts |
|
391 | bundle2-output: start of parts | |
@@ -734,6 +736,7 b' Support for changegroup' | |||||
734 | 9520eea781bcca16c1e15acc0ba14335a0e8e5ba |
|
736 | 9520eea781bcca16c1e15acc0ba14335a0e8e5ba | |
735 | eea13746799a9e0bfd88f29d3c2e9dc9389f524f |
|
737 | eea13746799a9e0bfd88f29d3c2e9dc9389f524f | |
736 | 02de42196ebee42ef284b6780a87cdc96e8eaab6 |
|
738 | 02de42196ebee42ef284b6780a87cdc96e8eaab6 | |
|
739 | bundle2-output-bundle: "HG20", 1 parts total | |||
737 | bundle2-output: start emission of HG20 stream |
|
740 | bundle2-output: start emission of HG20 stream | |
738 | bundle2-output: bundle parameter: |
|
741 | bundle2-output: bundle parameter: | |
739 | bundle2-output: start of parts |
|
742 | bundle2-output: start of parts |
General Comments 0
You need to be logged in to leave comments.
Login now