Mercurial > hg
comparison tests/test-ssh.t @ 37813:58bbd14b0c62 stable
sshpeer: reflect actual command activity one handshake
The output from devel-peer-request is expected to give data about request and
roundtrip done to the server. Changeset a9cffd14aa04 changed some of that by
grouping hello and between commands call. However, the old sequence of command
was "emulated" in sshpeer.
Update the sshpeer to reflect this grouping of commands and update the tests
that use it.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Mon, 23 Apr 2018 19:23:18 +0100 |
parents | 33af46d639b4 |
children | 45a669bad421 |
comparison
equal
deleted
inserted
replaced
37812:91b717e2cafa | 37813:58bbd14b0c62 |
---|---|
488 | 488 |
489 $ hg pull --debug ssh://user@dummy/remote --config devel.debug.peer-request=yes | 489 $ hg pull --debug ssh://user@dummy/remote --config devel.debug.peer-request=yes |
490 pulling from ssh://user@dummy/remote | 490 pulling from ssh://user@dummy/remote |
491 running .* ".*/dummyssh" ['"]user@dummy['"] ('|")hg -R remote serve --stdio('|") (re) | 491 running .* ".*/dummyssh" ['"]user@dummy['"] ('|")hg -R remote serve --stdio('|") (re) |
492 sending upgrade request: * proto=exp-ssh-v2-0001 (glob) (sshv2 !) | 492 sending upgrade request: * proto=exp-ssh-v2-0001 (glob) (sshv2 !) |
493 devel-peer-request: hello | 493 devel-peer-request: hello+between |
494 devel-peer-request: pairs: 81 bytes | |
494 sending hello command | 495 sending hello command |
495 devel-peer-request: between | |
496 devel-peer-request: pairs: 81 bytes | |
497 sending between command | 496 sending between command |
498 remote: 413 (sshv1 !) | 497 remote: 413 (sshv1 !) |
499 protocol upgraded to exp-ssh-v2-0001 (sshv2 !) | 498 protocol upgraded to exp-ssh-v2-0001 (sshv2 !) |
500 remote: capabilities: batch branchmap $USUAL_BUNDLE2_CAPS_SERVER$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash | 499 remote: capabilities: batch branchmap $USUAL_BUNDLE2_CAPS_SERVER$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash |
501 remote: 1 (sshv1 !) | 500 remote: 1 (sshv1 !) |