Mercurial > hg
comparison tests/test-debugcommands.t @ 37053:cd0ca979a8b8
wireproto: nominally don't expose "batch" to version 2 wire transports
The unified frame-based protocol will (eventually) support
multiple requests per client transmission. This means that the
[very hacky] "batch" command has no purpose existing in this protocol.
This commit marks the command as applying to v1 transports only.
But because SSHv2 == SSHv1 currently, we had to hack it back in
for the SSHv2 transport. Bleh.
Tests changed because the capabilities string changed. The order of
tokens in the string is not important.
Differential Revision: https://phab.mercurial-scm.org/D2856
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Wed, 14 Mar 2018 08:18:15 -0700 |
parents | 2090044a288d |
children | 009d0283de5f |
comparison
equal
deleted
inserted
replaced
37052:8c3c47362934 | 37053:cd0ca979a8b8 |
---|---|
397 sending hello command | 397 sending hello command |
398 devel-peer-request: between | 398 devel-peer-request: between |
399 devel-peer-request: pairs: 81 bytes | 399 devel-peer-request: pairs: 81 bytes |
400 sending between command | 400 sending between command |
401 remote: 403 | 401 remote: 403 |
402 remote: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN | 402 remote: capabilities: lookup branchmap pushkey known getbundle unbundlehash changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN batch |
403 remote: 1 | 403 remote: 1 |
404 url: ssh://user@dummy/debugrevlog | 404 url: ssh://user@dummy/debugrevlog |
405 local: no | 405 local: no |
406 pushable: yes | 406 pushable: yes |