equal
deleted
inserted
replaced
209 s> Content-Length: 30\r\n |
209 s> Content-Length: 30\r\n |
210 s> \r\n |
210 s> \r\n |
211 s> bookmarks\t\n |
211 s> bookmarks\t\n |
212 s> namespaces\t\n |
212 s> namespaces\t\n |
213 s> phases\t |
213 s> phases\t |
214 response: b'bookmarks\t\nnamespaces\t\nphases\t' |
214 response: {b'bookmarks': b'', b'namespaces': b'', b'phases': b''} |
215 |
215 |
216 Same thing, but with "httprequest" command |
216 Same thing, but with "httprequest" command |
217 |
217 |
218 $ hg --verbose debugwireproto --peer raw http://$LOCALIP:$HGPORT << EOF |
218 $ hg --verbose debugwireproto --peer raw http://$LOCALIP:$HGPORT << EOF |
219 > httprequest GET ?cmd=listkeys |
219 > httprequest GET ?cmd=listkeys |
275 s> Date: $HTTP_DATE$\r\n |
275 s> Date: $HTTP_DATE$\r\n |
276 s> Content-Type: application/mercurial-0.1\r\n |
276 s> Content-Type: application/mercurial-0.1\r\n |
277 s> Content-Length: 41\r\n |
277 s> Content-Length: 41\r\n |
278 s> \r\n |
278 s> \r\n |
279 s> 0000000000000000000000000000000000000000\n |
279 s> 0000000000000000000000000000000000000000\n |
280 response: b'0000000000000000000000000000000000000000\n' |
280 response: [b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'] |
281 |
281 |
282 $ killdaemons.py |
282 $ killdaemons.py |
283 $ enablehttpv2 empty |
283 $ enablehttpv2 empty |
284 $ hg -R empty serve -p $HGPORT -d --pid-file hg.pid |
284 $ hg -R empty serve -p $HGPORT -d --pid-file hg.pid |
285 $ cat hg.pid > $DAEMON_PIDS |
285 $ cat hg.pid > $DAEMON_PIDS |