Mercurial > public > mercurial-scm > hg
diff tests/test-http-api-httpv2.t @ 37322:a67fd1fe5109
stringutil: drop escapedata() in favor of escapestr()
They are quite similar. Let's choose one that uses standard Python escape.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Wed, 04 Apr 2018 23:26:49 +0900 |
parents | 3d0e2cd86e05 |
children | fa9faf58959d |
line wrap: on
line diff
--- a/tests/test-http-api-httpv2.t Fri Mar 30 18:57:13 2018 -0700 +++ b/tests/test-http-api-httpv2.t Wed Apr 04 23:26:49 2018 +0900 @@ -393,7 +393,7 @@ s> content-length: 47\r\n s> host: $LOCALIP:$HGPORT\r\n (glob) s> \r\n - s> '\x00\x00\x01\x00\x01\x01\x11\xa2Dargs\xa2CfooDval1Dbar1CvalDnameHcommand1 + s> \'\x00\x00\x01\x00\x01\x01\x11\xa2Dargs\xa2CfooDval1Dbar1CvalDnameHcommand1 s> makefile('rb', None) s> HTTP/1.1 200 OK\r\n s> Server: testing stub value\r\n @@ -504,9 +504,9 @@ s> Transfer-Encoding: chunked\r\n s> \r\n s> 26\r\n - s> \x1e\x00\x00\x03\x00\x02\x01Bbookmarks \n - s> namespaces \n - s> phases + s> \x1e\x00\x00\x03\x00\x02\x01Bbookmarks\t\n + s> namespaces\t\n + s> phases\t s> \r\n s> 8\r\n s> \x00\x00\x00\x01\x00\x02\x00B