Mercurial > hg
comparison tests/test-http.t @ 46663:a4c19a162615
sshpeer: enable+fix warning about sshpeers not being closed explicitly
I recommend looking at this with a diff that ignores indentation.
The test changes are because localrepo.close() updates some cache,
which appears happens earlier now on rollbacks or strips or something.
The http changes are because httppeer.close() prints stats with
--verbose.
Differential Revision: https://phab.mercurial-scm.org/D9999
author | Valentin Gatien-Baron <valentin.gatienbaron@gmail.com> |
---|---|
date | Mon, 15 Feb 2021 14:48:36 -0500 |
parents | 7015b0232c5e |
children | 79cfe18c20b5 |
comparison
equal
deleted
inserted
replaced
46662:db8037e38085 | 46663:a4c19a162615 |
---|---|
380 devel-peer-request: Vary X-HgArg-1,X-HgProto-1 | 380 devel-peer-request: Vary X-HgArg-1,X-HgProto-1 |
381 devel-peer-request: X-hgproto-1 0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull | 381 devel-peer-request: X-hgproto-1 0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull |
382 devel-peer-request: 16 bytes of commands arguments in headers | 382 devel-peer-request: 16 bytes of commands arguments in headers |
383 devel-peer-request: finished in *.???? seconds (200) (glob) | 383 devel-peer-request: finished in *.???? seconds (200) (glob) |
384 received listkey for "phases": 15 bytes | 384 received listkey for "phases": 15 bytes |
385 (sent 9 HTTP requests and 3898 bytes; received 920 bytes in responses) | |
385 $ hg rollback -q | 386 $ hg rollback -q |
386 | 387 |
387 $ sed 's/.*] "/"/' < ../access.log | 388 $ sed 's/.*] "/"/' < ../access.log |
388 "GET /?cmd=capabilities HTTP/1.1" 401 - | 389 "GET /?cmd=capabilities HTTP/1.1" 401 - |
389 "GET /?cmd=capabilities HTTP/1.1" 401 - | 390 "GET /?cmd=capabilities HTTP/1.1" 401 - |