##// END OF EJS Templates
bundle2: add generic debug output regarding processed bundle...
Pierre-Yves David -
r25331:53ca47ef default
parent child Browse files
Show More
@@ -318,6 +318,16 b' def processbundle(repo, unbundler, trans'
318 # - replace this is a init function soon.
318 # - replace this is a init function soon.
319 # - exception catching
319 # - exception catching
320 unbundler.params
320 unbundler.params
321 if repo.ui.debugflag:
322 msg = ['bundle2-input-bundle:']
323 if unbundler.params:
324 msg.append(' %i params')
325 if op.gettransaction is None:
326 msg.append(' no-transaction')
327 else:
328 msg.append(' with-transaction')
329 msg.append('\n')
330 repo.ui.debug(''.join(msg))
321 iterparts = unbundler.iterparts()
331 iterparts = unbundler.iterparts()
322 part = None
332 part = None
323 try:
333 try:
@@ -550,6 +550,7 b' Process the bundle'
550 $ hg unbundle2 --debug --config progress.debug=true < ../parts.hg2
550 $ hg unbundle2 --debug --config progress.debug=true < ../parts.hg2
551 bundle2-input: start processing of HG20 stream
551 bundle2-input: start processing of HG20 stream
552 bundle2-input: reading bundle2 stream parameters
552 bundle2-input: reading bundle2 stream parameters
553 bundle2-input-bundle: with-transaction
553 bundle2-input: start extraction of bundle2 parts
554 bundle2-input: start extraction of bundle2 parts
554 bundle2-input: part header size: 17
555 bundle2-input: part header size: 17
555 bundle2-input: part type: "test:empty"
556 bundle2-input: part type: "test:empty"
General Comments 0
You need to be logged in to leave comments. Login now