40 |
40 |
41 $ sendhttpv2peer << EOF |
41 $ sendhttpv2peer << EOF |
42 > command branchmap |
42 > command branchmap |
43 > EOF |
43 > EOF |
44 creating http peer for wire protocol version 2 |
44 creating http peer for wire protocol version 2 |
|
45 s> GET /?cmd=capabilities HTTP/1.1\r\n |
|
46 s> Accept-Encoding: identity\r\n |
|
47 s> vary: X-HgProto-1,X-HgUpgrade-1\r\n |
|
48 s> x-hgproto-1: cbor\r\n |
|
49 s> x-hgupgrade-1: exp-http-v2-0001\r\n |
|
50 s> accept: application/mercurial-0.1\r\n |
|
51 s> host: $LOCALIP:$HGPORT\r\n (glob) |
|
52 s> user-agent: Mercurial debugwireproto\r\n |
|
53 s> \r\n |
|
54 s> makefile('rb', None) |
|
55 s> HTTP/1.1 200 OK\r\n |
|
56 s> Server: testing stub value\r\n |
|
57 s> Date: $HTTP_DATE$\r\n |
|
58 s> Content-Type: application/mercurial-cbor\r\n |
|
59 s> Content-Length: *\r\n (glob) |
|
60 s> \r\n |
|
61 s> \xa3Dapis\xa1Pexp-http-v2-0001\xa2Hcommands\xa7Eheads\xa2Dargs\xa1Jpubliconly\xf4Kpermissions\x81DpullEknown\xa2Dargs\xa1Enodes\x81HdeadbeefKpermissions\x81DpullFlookup\xa2Dargs\xa1CkeyCfooKpermissions\x81DpullGpushkey\xa2Dargs\xa4CkeyCkeyCnewCnewColdColdInamespaceBnsKpermissions\x81DpushHlistkeys\xa2Dargs\xa1InamespaceBnsKpermissions\x81DpullIbranchmap\xa2Dargs\xa0Kpermissions\x81DpullLcapabilities\xa2Dargs\xa0Kpermissions\x81DpullKcompression\x82\xa1DnameDzstd\xa1DnameDzlibGapibaseDapi/Nv1capabilitiesY\x01\xcabatch branchmap $USUAL_BUNDLE2_CAPS_SERVER$ changegroupsubset compression=$BUNDLE2_COMPRESSIONS$ getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash |
45 sending branchmap command |
62 sending branchmap command |
46 s> POST /api/exp-http-v2-0001/ro/branchmap HTTP/1.1\r\n |
63 s> POST /api/exp-http-v2-0001/ro/branchmap HTTP/1.1\r\n |
47 s> Accept-Encoding: identity\r\n |
64 s> Accept-Encoding: identity\r\n |
48 s> accept: application/mercurial-exp-framing-0003\r\n |
65 s> accept: application/mercurial-exp-framing-0003\r\n |
49 s> content-type: application/mercurial-exp-framing-0003\r\n |
66 s> content-type: application/mercurial-exp-framing-0003\r\n |