Mercurial > hg
comparison tests/test-wireproto-command-listkeys.t @ 39448:660879e49b46
wireprotov2server: use our CBOR encoder
Again, test output changed slightly because of map key ordering
differences. This shouldn't matter.
I could have called oncommandresponsereadygen() with the raw output
from the stream encoder. However, this changed test output further.
I left a TODO to follow up on that later.
Differential Revision: https://phab.mercurial-scm.org/D4468
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Tue, 28 Aug 2018 18:12:04 -0700 |
parents | 0f549da54379 |
children | 07b58266bce3 |
comparison
equal
deleted
inserted
replaced
39447:5f4a9ada5ab5 | 39448:660879e49b46 |
---|---|
47 s> Content-Type: application/mercurial-exp-framing-0005\r\n | 47 s> Content-Type: application/mercurial-exp-framing-0005\r\n |
48 s> Transfer-Encoding: chunked\r\n | 48 s> Transfer-Encoding: chunked\r\n |
49 s> \r\n | 49 s> \r\n |
50 s> 33\r\n | 50 s> 33\r\n |
51 s> +\x00\x00\x01\x00\x02\x012 | 51 s> +\x00\x00\x01\x00\x02\x012 |
52 s> \xa1FstatusBok\xa3Fphases@Ibookmarks@Jnamespaces@ | 52 s> \xa1FstatusBok\xa3Ibookmarks@Jnamespaces@Fphases@ |
53 s> \r\n | 53 s> \r\n |
54 received frame(size=43; request=1; stream=2; streamflags=stream-begin; type=command-response; flags=eos) | 54 received frame(size=43; request=1; stream=2; streamflags=stream-begin; type=command-response; flags=eos) |
55 s> 0\r\n | 55 s> 0\r\n |
56 s> \r\n | 56 s> \r\n |
57 response: { | 57 response: { |
84 s> Content-Type: application/mercurial-exp-framing-0005\r\n | 84 s> Content-Type: application/mercurial-exp-framing-0005\r\n |
85 s> Transfer-Encoding: chunked\r\n | 85 s> Transfer-Encoding: chunked\r\n |
86 s> \r\n | 86 s> \r\n |
87 s> 50\r\n | 87 s> 50\r\n |
88 s> H\x00\x00\x01\x00\x02\x012 | 88 s> H\x00\x00\x01\x00\x02\x012 |
89 s> \xa1FstatusBok\xa2JpublishingDTrueX(be0ef73c17ade3fc89dc41701eb9fc3a91b58282A1 | 89 s> \xa1FstatusBok\xa2X(be0ef73c17ade3fc89dc41701eb9fc3a91b58282A1JpublishingDTrue |
90 s> \r\n | 90 s> \r\n |
91 received frame(size=72; request=1; stream=2; streamflags=stream-begin; type=command-response; flags=eos) | 91 received frame(size=72; request=1; stream=2; streamflags=stream-begin; type=command-response; flags=eos) |
92 s> 0\r\n | 92 s> 0\r\n |
93 s> \r\n | 93 s> \r\n |
94 response: { | 94 response: { |