comparison tests/test-bundle2-exchange.t @ 24797:0c4d5e01b31f

bundle2-wireproto: properly propagate the server output on error (issue4594) In case of errors, output parts salvaged from the reply bundle are re-injected into the bundle carrying the exception. We still need to fix the situation for non-wireprotocol push.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Thu, 16 Apr 2015 03:17:37 -0400
parents 5640efd1b160
children d99d7e3f5cda
comparison
equal deleted inserted replaced
24796:61ff209fc01d 24797:0c4d5e01b31f
565 [255] 565 [255]
566 566
567 $ hg -R main push ssh://user@dummy/other -r e7ec4e813ba6 567 $ hg -R main push ssh://user@dummy/other -r e7ec4e813ba6
568 pushing to ssh://user@dummy/other 568 pushing to ssh://user@dummy/other
569 searching for changes 569 searching for changes
570 remote: adding changesets
571 remote: adding manifests
572 remote: adding file changes
573 remote: added 1 changesets with 1 changes to 1 files
570 abort: pretxnclose.failpush hook exited with status 1 574 abort: pretxnclose.failpush hook exited with status 1
571 remote: pre-close-tip:e7ec4e813ba6 draft 575 remote: pre-close-tip:e7ec4e813ba6 draft
572 remote: transaction abort! 576 remote: transaction abort!
573 remote: rollback completed 577 remote: rollback completed
574 [255] 578 [255]
575 579
576 $ hg -R main push http://localhost:$HGPORT2/ -r e7ec4e813ba6 580 $ hg -R main push http://localhost:$HGPORT2/ -r e7ec4e813ba6
577 pushing to http://localhost:$HGPORT2/ 581 pushing to http://localhost:$HGPORT2/
578 searching for changes 582 searching for changes
583 remote: adding changesets
584 remote: adding manifests
585 remote: adding file changes
586 remote: added 1 changesets with 1 changes to 1 files
579 abort: pretxnclose.failpush hook exited with status 1 587 abort: pretxnclose.failpush hook exited with status 1
580 [255] 588 [255]
581 589
582 (check that no 'pending' files remain) 590 (check that no 'pending' files remain)
583 591