tests/test-clone-uncompressed.t
changeset 46314 95a615dd77bf
parent 45077 23119371df5e
child 46672 7015b0232c5e
equal deleted inserted replaced
46313:4cde46f62ebf 46314:95a615dd77bf
   190   streaming all changes
   190   streaming all changes
   191   1030 files to transfer, 96.5 KB of data
   191   1030 files to transfer, 96.5 KB of data
   192   transferred 96.5 KB in * seconds (* */sec) (glob)
   192   transferred 96.5 KB in * seconds (* */sec) (glob)
   193 
   193 
   194   $ ls -1 clone1/.hg/cache
   194   $ ls -1 clone1/.hg/cache
       
   195   branch2-base
       
   196   branch2-immutable
   195   branch2-served
   197   branch2-served
       
   198   branch2-served.hidden
       
   199   branch2-visible
       
   200   branch2-visible-hidden
       
   201   hgtagsfnodes1
   196   rbc-names-v1
   202   rbc-names-v1
   197   rbc-revs-v1
   203   rbc-revs-v1
       
   204   tags2
       
   205   tags2-served
   198 #endif
   206 #endif
   199 
   207 
   200 getbundle requests with stream=1 are uncompressed
   208 getbundle requests with stream=1 are uncompressed
   201 
   209 
   202   $ get-with-headers.py $LOCALIP:$HGPORT '?cmd=getbundle' content-type --bodyfile body --hgproto '0.1 0.2 comp=zlib,none' --requestheader "x-hgarg-1=bundlecaps=HG20%2Cbundle2%3DHG20%250Abookmarks%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250Ahgtagsfnodes%250Alistkeys%250Aphases%253Dheads%250Apushkey%250Aremote-changegroup%253Dhttp%252Chttps&cg=0&common=0000000000000000000000000000000000000000&heads=c17445101a72edac06facd130d14808dfbd5c7c2&stream=1"
   210   $ get-with-headers.py $LOCALIP:$HGPORT '?cmd=getbundle' content-type --bodyfile body --hgproto '0.1 0.2 comp=zlib,none' --requestheader "x-hgarg-1=bundlecaps=HG20%2Cbundle2%3DHG20%250Abookmarks%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250Ahgtagsfnodes%250Alistkeys%250Aphases%253Dheads%250Apushkey%250Aremote-changegroup%253Dhttp%252Chttps&cg=0&common=0000000000000000000000000000000000000000&heads=c17445101a72edac06facd130d14808dfbd5c7c2&stream=1"
   263   bundle2-input-part: "listkeys" (params: 1 mandatory) supported
   271   bundle2-input-part: "listkeys" (params: 1 mandatory) supported
   264   bundle2-input-part: "phase-heads" supported
   272   bundle2-input-part: "phase-heads" supported
   265   bundle2-input-part: total payload size 24
   273   bundle2-input-part: total payload size 24
   266   bundle2-input-bundle: 2 parts total
   274   bundle2-input-bundle: 2 parts total
   267   checking for updated bookmarks
   275   checking for updated bookmarks
       
   276   updating the branch cache
   268   (sent 5 HTTP requests and * bytes; received * bytes in responses) (glob)
   277   (sent 5 HTTP requests and * bytes; received * bytes in responses) (glob)
   269 #endif
   278 #endif
   270 #if stream-bundle2
   279 #if stream-bundle2
   271   $ hg --debug --config worker.backgroundclose=true --config worker.backgroundcloseminfilecount=1 clone --stream -U http://localhost:$HGPORT clone-background | grep -v adding
   280   $ hg --debug --config worker.backgroundclose=true --config worker.backgroundcloseminfilecount=1 clone --stream -U http://localhost:$HGPORT clone-background | grep -v adding
   272   using http://localhost:$HGPORT/
   281   using http://localhost:$HGPORT/
   285   transferred 96.5 KB in * seconds (* */sec) (glob)
   294   transferred 96.5 KB in * seconds (* */sec) (glob)
   286   bundle2-input-part: total payload size 112094
   295   bundle2-input-part: total payload size 112094
   287   bundle2-input-part: "listkeys" (params: 1 mandatory) supported
   296   bundle2-input-part: "listkeys" (params: 1 mandatory) supported
   288   bundle2-input-bundle: 2 parts total
   297   bundle2-input-bundle: 2 parts total
   289   checking for updated bookmarks
   298   checking for updated bookmarks
       
   299   updating the branch cache
   290   (sent 3 HTTP requests and * bytes; received * bytes in responses) (glob)
   300   (sent 3 HTTP requests and * bytes; received * bytes in responses) (glob)
   291 #endif
   301 #endif
   292 
   302 
   293 Cannot stream clone when there are secret changesets
   303 Cannot stream clone when there are secret changesets
   294 
   304