Mercurial > public > mercurial-scm > hg
diff tests/test-http-protocol.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 | 2f859ad7ed8c |
children | 33af46d639b4 |
line wrap: on
line diff
--- a/tests/test-http-protocol.t Fri Mar 30 18:57:13 2018 -0700 +++ b/tests/test-http-protocol.t Wed Apr 04 23:26:49 2018 +0900 @@ -206,10 +206,10 @@ s> Content-Type: application/mercurial-0.1\r\n s> Content-Length: 30\r\n s> \r\n - s> bookmarks \n - s> namespaces \n - s> phases - response: b'bookmarks \nnamespaces \nphases ' + s> bookmarks\t\n + s> namespaces\t\n + s> phases\t + response: b'bookmarks\t\nnamespaces\t\nphases\t' Same thing, but with "httprequest" command @@ -232,8 +232,8 @@ s> Content-Type: application/mercurial-0.1\r\n s> Content-Length: 30\r\n s> \r\n - s> bookmarks \n - s> namespaces \n - s> phases + s> bookmarks\t\n + s> namespaces\t\n + s> phases\t $ killdaemons.py