comparison tests/test-clonebundles.t @ 35268:44b8b5ad30eb

pull: retrieve bookmarks through the binary part when possible This makes pull consistent with the part used by push and provide us with a more compact representation of bookmarks. In addition, this opens the way for smarter bookmark exchanges (e.g. filtering by names or only sending the bookmark relevant to the pulled set, etc).
author Boris Feld <boris.feld@octobus.net>
date Tue, 17 Oct 2017 15:27:22 +0200
parents c1b94f34a11a
children bdae51a83dfb
comparison
equal deleted inserted replaced
35267:cb4dcd7fabe7 35268:44b8b5ad30eb
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 $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$ (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$ (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$ (glob) 36 $LOCALIP - - [$LOGDATE$] "GET /?cmd=getbundle HTTP/1.1" 200 - x-hgarg-1:bookmarks=1&$USUAL_BUNDLE_CAPS$&cg=1&common=0000000000000000000000000000000000000000&heads=aaff8d2ffbbf07a46dd1f05d8ae7877e3f56e2a2&listkeys=bookmarks&phases=1 x-hgproto-1:0.1 0.2 comp=$USUAL_COMPRESSIONS$ (glob)
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