Mercurial > hg
comparison tests/test-ssh.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 | a746d13987a6 |
comparison
equal
deleted
inserted
replaced
48525:d6c53b40b078 | 48526:04688c51f81f |
---|---|
1 #testcases sshv1 sshv2 | |
2 | |
3 #if sshv2 | |
4 $ cat >> $HGRCPATH << EOF | |
5 > [experimental] | |
6 > sshpeer.advertise-v2 = true | |
7 > sshserver.support-v2 = true | |
8 > EOF | |
9 #endif | |
10 | |
11 This test tries to exercise the ssh functionality with a dummy script | 1 This test tries to exercise the ssh functionality with a dummy script |
12 | 2 |
13 creating 'remote' repo | 3 creating 'remote' repo |
14 | 4 |
15 $ hg init remote | 5 $ hg init remote |
535 debug output | 525 debug output |
536 | 526 |
537 $ hg pull --debug ssh://user@dummy/remote --config devel.debug.peer-request=yes | 527 $ hg pull --debug ssh://user@dummy/remote --config devel.debug.peer-request=yes |
538 pulling from ssh://user@dummy/remote | 528 pulling from ssh://user@dummy/remote |
539 running .* ".*[/\\]dummyssh" ['"]user@dummy['"] ['"]hg -R remote serve --stdio['"] (re) | 529 running .* ".*[/\\]dummyssh" ['"]user@dummy['"] ['"]hg -R remote serve --stdio['"] (re) |
540 sending upgrade request: * proto=exp-ssh-v2-0003 (glob) (sshv2 !) | |
541 devel-peer-request: hello+between | 530 devel-peer-request: hello+between |
542 devel-peer-request: pairs: 81 bytes | 531 devel-peer-request: pairs: 81 bytes |
543 sending hello command | 532 sending hello command |
544 sending between command | 533 sending between command |
545 remote: 444 (sshv1 no-rust !) | 534 remote: 444 (no-rust !) |
546 remote: 463 (sshv1 rust !) | 535 remote: 463 (rust !) |
547 protocol upgraded to exp-ssh-v2-0003 (sshv2 !) | |
548 remote: capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (no-rust !) | 536 remote: capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (no-rust !) |
549 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 !) | 537 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 !) |
550 remote: 1 (sshv1 !) | 538 remote: 1 |
551 devel-peer-request: protocaps | 539 devel-peer-request: protocaps |
552 devel-peer-request: caps: * bytes (glob) | 540 devel-peer-request: caps: * bytes (glob) |
553 sending protocaps command | 541 sending protocaps command |
554 query 1; heads | 542 query 1; heads |
555 devel-peer-request: batched-content | 543 devel-peer-request: batched-content |