comparison tests/test-clonebundles.t @ 35074:62e10bf001a9

test-pattern: actually update tests using the patterns We mass update the tests now. This will help the next soul touching the http protocol.
author Boris Feld <boris.feld@octobus.net>
date Sun, 05 Nov 2017 08:23:12 +0100
parents eb586ed5d8ce
children c1b94f34a11a
comparison
equal deleted inserted replaced
35073:7f0c9e28a816 35074:62e10bf001a9
30 added 2 changesets with 2 changes to 2 files 30 added 2 changesets with 2 changes to 2 files
31 new changesets 53245c60e682:aaff8d2ffbbf 31 new changesets 53245c60e682:aaff8d2ffbbf
32 32
33 $ cat server/access.log 33 $ cat server/access.log
34 * - - [*] "GET /?cmd=capabilities HTTP/1.1" 200 - (glob) 34 * - - [*] "GET /?cmd=capabilities HTTP/1.1" 200 - (glob)
35 * - - [*] "GET /?cmd=batch HTTP/1.1" 200 - x-hgarg-1:cmds=heads+%3Bknown+nodes%3D x-hgproto-1:0.1 0.2 comp=*zlib,none,bzip2 (glob) 35 $LOCALIP - - [$LOGDATE$] "GET /?cmd=batch HTTP/1.1" 200 - x-hgarg-1:cmds=heads+%3Bknown+nodes%3D x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$
36 * - - [*] "GET /?cmd=getbundle HTTP/1.1" 200 - x-hgarg-1:bundlecaps=HG20%2Cbundle2%3DHG20%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250Ahgtagsfnodes%250Alistkeys%250Aphases%253Dheads%250Apushkey%250Aremote-changegroup%253Dhttp%252Chttps&cg=1&common=0000000000000000000000000000000000000000&heads=aaff8d2ffbbf07a46dd1f05d8ae7877e3f56e2a2&listkeys=bookmarks&phases=1 x-hgproto-1:0.1 0.2 comp=*zlib,none,bzip2 (glob) 36 $LOCALIP - - [$LOGDATE$] "GET /?cmd=getbundle HTTP/1.1" 200 - x-hgarg-1:$USUAL_BUNDLE_CAPS$&cg=1&common=0000000000000000000000000000000000000000&heads=aaff8d2ffbbf07a46dd1f05d8ae7877e3f56e2a2&listkeys=bookmarks&phases=1 x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$
37 37
38 Empty manifest file results in retrieval 38 Empty manifest file results in retrieval
39 (the extension only checks if the manifest file exists) 39 (the extension only checks if the manifest file exists)
40 40
41 $ touch server/.hg/clonebundles.manifest 41 $ touch server/.hg/clonebundles.manifest