tests/test-clone-uncompressed.t
changeset 40978 42f59d3f714d
parent 40919 a0886a4d6dce
child 42893 34a46d48d24e
equal deleted inserted replaced
40977:21a9cace4bbf 40978:42f59d3f714d
   182   no changes found
   182   no changes found
   183 #endif
   183 #endif
   184 #if stream-bundle2
   184 #if stream-bundle2
   185   $ hg clone --stream -U http://localhost:$HGPORT clone1
   185   $ hg clone --stream -U http://localhost:$HGPORT clone1
   186   streaming all changes
   186   streaming all changes
   187   1030 files to transfer, 96.4 KB of data
   187   1030 files to transfer, 96.5 KB of data
   188   transferred 96.4 KB in * seconds (* */sec) (glob)
   188   transferred 96.5 KB in * seconds (* */sec) (glob)
   189 
   189 
   190   $ ls -1 clone1/.hg/cache
   190   $ ls -1 clone1/.hg/cache
   191   branch2-served
   191   branch2-served
   192   rbc-names-v1
   192   rbc-names-v1
   193   rbc-revs-v1
   193   rbc-revs-v1
   199   200 Script output follows
   199   200 Script output follows
   200   content-type: application/mercurial-0.2
   200   content-type: application/mercurial-0.2
   201   
   201   
   202 
   202 
   203   $ f --size --hex --bytes 256 body
   203   $ f --size --hex --bytes 256 body
   204   body: size=112245
   204   body: size=112262
   205   0000: 04 6e 6f 6e 65 48 47 32 30 00 00 00 00 00 00 00 |.noneHG20.......|
   205   0000: 04 6e 6f 6e 65 48 47 32 30 00 00 00 00 00 00 00 |.noneHG20.......|
   206   0010: 7f 07 53 54 52 45 41 4d 32 00 00 00 00 03 00 09 |..STREAM2.......|
   206   0010: 7f 07 53 54 52 45 41 4d 32 00 00 00 00 03 00 09 |..STREAM2.......|
   207   0020: 05 09 04 0c 44 62 79 74 65 63 6f 75 6e 74 39 38 |....Dbytecount98|
   207   0020: 05 09 04 0c 44 62 79 74 65 63 6f 75 6e 74 39 38 |....Dbytecount98|
   208   0030: 37 35 38 66 69 6c 65 63 6f 75 6e 74 31 30 33 30 |758filecount1030|
   208   0030: 37 37 35 66 69 6c 65 63 6f 75 6e 74 31 30 33 30 |775filecount1030|
   209   0040: 72 65 71 75 69 72 65 6d 65 6e 74 73 64 6f 74 65 |requirementsdote|
   209   0040: 72 65 71 75 69 72 65 6d 65 6e 74 73 64 6f 74 65 |requirementsdote|
   210   0050: 6e 63 6f 64 65 25 32 43 66 6e 63 61 63 68 65 25 |ncode%2Cfncache%|
   210   0050: 6e 63 6f 64 65 25 32 43 66 6e 63 61 63 68 65 25 |ncode%2Cfncache%|
   211   0060: 32 43 67 65 6e 65 72 61 6c 64 65 6c 74 61 25 32 |2Cgeneraldelta%2|
   211   0060: 32 43 67 65 6e 65 72 61 6c 64 65 6c 74 61 25 32 |2Cgeneraldelta%2|
   212   0070: 43 72 65 76 6c 6f 67 76 31 25 32 43 73 70 61 72 |Crevlogv1%2Cspar|
   212   0070: 43 72 65 76 6c 6f 67 76 31 25 32 43 73 70 61 72 |Crevlogv1%2Cspar|
   213   0080: 73 65 72 65 76 6c 6f 67 25 32 43 73 74 6f 72 65 |serevlog%2Cstore|
   213   0080: 73 65 72 65 76 6c 6f 67 25 32 43 73 74 6f 72 65 |serevlog%2Cstore|
   230   no changes found
   230   no changes found
   231 #endif
   231 #endif
   232 #if stream-bundle2
   232 #if stream-bundle2
   233   $ hg clone --uncompressed -U http://localhost:$HGPORT clone1-uncompressed
   233   $ hg clone --uncompressed -U http://localhost:$HGPORT clone1-uncompressed
   234   streaming all changes
   234   streaming all changes
   235   1030 files to transfer, 96.4 KB of data
   235   1030 files to transfer, 96.5 KB of data
   236   transferred 96.4 KB in * seconds (* */sec) (glob)
   236   transferred 96.5 KB in * seconds (* */sec) (glob)
   237 #endif
   237 #endif
   238 
   238 
   239 Clone with background file closing enabled
   239 Clone with background file closing enabled
   240 
   240 
   241 #if stream-legacy
   241 #if stream-legacy
   272   streaming all changes
   272   streaming all changes
   273   sending getbundle command
   273   sending getbundle command
   274   bundle2-input-bundle: with-transaction
   274   bundle2-input-bundle: with-transaction
   275   bundle2-input-part: "stream2" (params: 3 mandatory) supported
   275   bundle2-input-part: "stream2" (params: 3 mandatory) supported
   276   applying stream bundle
   276   applying stream bundle
   277   1030 files to transfer, 96.4 KB of data
   277   1030 files to transfer, 96.5 KB of data
   278   starting 4 threads for background file closing
   278   starting 4 threads for background file closing
   279   starting 4 threads for background file closing
   279   starting 4 threads for background file closing
   280   updating the branch cache
   280   updating the branch cache
   281   transferred 96.4 KB in * seconds (* */sec) (glob)
   281   transferred 96.5 KB in * seconds (* */sec) (glob)
   282   bundle2-input-part: total payload size 112077
   282   bundle2-input-part: total payload size 112094
   283   bundle2-input-part: "listkeys" (params: 1 mandatory) supported
   283   bundle2-input-part: "listkeys" (params: 1 mandatory) supported
   284   bundle2-input-bundle: 1 parts total
   284   bundle2-input-bundle: 1 parts total
   285   checking for updated bookmarks
   285   checking for updated bookmarks
   286   (sent 3 HTTP requests and * bytes; received * bytes in responses) (glob)
   286   (sent 3 HTTP requests and * bytes; received * bytes in responses) (glob)
   287 #endif
   287 #endif
   316   no changes found
   316   no changes found
   317 #endif
   317 #endif
   318 #if stream-bundle2
   318 #if stream-bundle2
   319   $ hg clone --stream -U http://localhost:$HGPORT secret-allowed
   319   $ hg clone --stream -U http://localhost:$HGPORT secret-allowed
   320   streaming all changes
   320   streaming all changes
   321   1030 files to transfer, 96.4 KB of data
   321   1030 files to transfer, 96.5 KB of data
   322   transferred 96.4 KB in * seconds (* */sec) (glob)
   322   transferred 96.5 KB in * seconds (* */sec) (glob)
   323 #endif
   323 #endif
   324 
   324 
   325   $ killdaemons.py
   325   $ killdaemons.py
   326 
   326 
   327 Verify interaction between preferuncompressed and secret presence
   327 Verify interaction between preferuncompressed and secret presence