comparison tests/test-ssh-bundle1.t @ 48526:04688c51f81f

exchangev2: remove it As discussed on the mailing list, this is incomplete and unused with little hope of revival. Differential Revision: https://phab.mercurial-scm.org/D11954
author Raphaël Gomès <rgomes@octobus.net>
date Tue, 07 Dec 2021 16:44:22 +0100
parents 0c92cd9286ee
children 198c0fddeb2a
comparison
equal deleted inserted replaced
48525:d6c53b40b078 48526:04688c51f81f
1 This test is a duplicate of 'test-http.t' feel free to factor out 1 This test is a duplicate of 'test-http.t' feel free to factor out
2 parts that are not bundle1/bundle2 specific. 2 parts that are not bundle1/bundle2 specific.
3
4 #testcases sshv1 sshv2
5
6 #if sshv2
7 $ cat >> $HGRCPATH << EOF
8 > [experimental]
9 > sshpeer.advertise-v2 = true
10 > sshserver.support-v2 = true
11 > EOF
12 #endif
13 3
14 $ cat << EOF >> $HGRCPATH 4 $ cat << EOF >> $HGRCPATH
15 > [devel] 5 > [devel]
16 > # This test is dedicated to interaction through old bundle 6 > # This test is dedicated to interaction through old bundle
17 > legacy.exchange = bundle1 7 > legacy.exchange = bundle1
481 debug output 471 debug output
482 472
483 $ hg pull --debug ssh://user@dummy/remote 473 $ hg pull --debug ssh://user@dummy/remote
484 pulling from ssh://user@dummy/remote 474 pulling from ssh://user@dummy/remote
485 running .* ".*[/\\]dummyssh" ['"]user@dummy['"] ['"]hg -R remote serve --stdio['"] (re) 475 running .* ".*[/\\]dummyssh" ['"]user@dummy['"] ['"]hg -R remote serve --stdio['"] (re)
486 sending upgrade request: * proto=exp-ssh-v2-0003 (glob) (sshv2 !)
487 sending hello command 476 sending hello command
488 sending between command 477 sending between command
489 remote: 444 (sshv1 no-rust !) 478 remote: 444 (no-rust !)
490 remote: 463 (sshv1 rust !) 479 remote: 463 (rust !)
491 protocol upgraded to exp-ssh-v2-0003 (sshv2 !)
492 remote: capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (no-rust !) 480 remote: capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (no-rust !)
493 remote: capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,persistent-nodemap,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (rust !) 481 remote: capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,persistent-nodemap,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (rust !)
494 remote: 1 (sshv1 !) 482 remote: 1
495 sending protocaps command 483 sending protocaps command
496 preparing listkeys for "bookmarks" 484 preparing listkeys for "bookmarks"
497 sending listkeys command 485 sending listkeys command
498 received listkey for "bookmarks": 45 bytes 486 received listkey for "bookmarks": 45 bytes
499 query 1; heads 487 query 1; heads