##// END OF EJS Templates
clone: add a file with special character while testing uncompressed...
marmoute -
r48588:17211649 stable
parent child Browse files
Show More
@@ -89,6 +89,13 b' add files with "tricky" name:'
89 $ echo foo > store/undo.foo.d
89 $ echo foo > store/undo.foo.d
90 $ echo foo > store/undo.foo.n
90 $ echo foo > store/undo.foo.n
91 $ echo foo > store/undo.babar
91 $ echo foo > store/undo.babar
92
93 Name with special characters
94
95 $ echo foo > store/CΓ©lesteVille_is_a_Capital_City
96
97 All all that
98
92 $ hg add .
99 $ hg add .
93 adding 00changelog-ab349180a0405010.nd
100 adding 00changelog-ab349180a0405010.nd
94 adding 00changelog.d
101 adding 00changelog.d
@@ -132,6 +139,7 b' add files with "tricky" name:'
132 adding savanah/undo.i
139 adding savanah/undo.i
133 adding savanah/undo.n
140 adding savanah/undo.n
134 adding savanah/undo.py
141 adding savanah/undo.py
142 adding store/C\xc3\xa9lesteVille_is_a_Capital_City (esc)
135 adding store/foo.d
143 adding store/foo.d
136 adding store/foo.i
144 adding store/foo.i
137 adding store/foo.n
145 adding store/foo.n
@@ -164,7 +172,7 b' This is present here to reuse the testin'
164
172
165 $ hg clone server local-clone
173 $ hg clone server local-clone
166 updating to branch default
174 updating to branch default
167 1086 files updated, 0 files merged, 0 files removed, 0 files unresolved
175 1087 files updated, 0 files merged, 0 files removed, 0 files unresolved
168
176
169 Check uncompressed
177 Check uncompressed
170 ==================
178 ==================
@@ -224,8 +232,8 b' Cannot stream clone when server.uncompre'
224 adding changesets
232 adding changesets
225 adding manifests
233 adding manifests
226 adding file changes
234 adding file changes
227 added 3 changesets with 1086 changes to 1086 files
235 added 3 changesets with 1087 changes to 1087 files
228 new changesets 96ee1d7354c4:7406a3463c3d
236 new changesets 96ee1d7354c4:42e820400e84
229
237
230 $ get-with-headers.py $LOCALIP:$HGPORT '?cmd=getbundle' content-type --bodyfile body --hgproto 0.2 --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"
238 $ get-with-headers.py $LOCALIP:$HGPORT '?cmd=getbundle' content-type --bodyfile body --hgproto 0.2 --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"
231 200 Script output follows
239 200 Script output follows
@@ -291,8 +299,8 b' Cannot stream clone when server.uncompre'
291 adding changesets
299 adding changesets
292 adding manifests
300 adding manifests
293 adding file changes
301 adding file changes
294 added 3 changesets with 1086 changes to 1086 files
302 added 3 changesets with 1087 changes to 1087 files
295 new changesets 96ee1d7354c4:7406a3463c3d
303 new changesets 96ee1d7354c4:42e820400e84
296
304
297 $ get-with-headers.py $LOCALIP:$HGPORT '?cmd=getbundle' content-type --bodyfile body --hgproto 0.2 --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"
305 $ get-with-headers.py $LOCALIP:$HGPORT '?cmd=getbundle' content-type --bodyfile body --hgproto 0.2 --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"
298 200 Script output follows
306 200 Script output follows
@@ -322,10 +330,10 b' Basic clone'
322 #if stream-legacy
330 #if stream-legacy
323 $ hg clone --stream -U http://localhost:$HGPORT clone1
331 $ hg clone --stream -U http://localhost:$HGPORT clone1
324 streaming all changes
332 streaming all changes
325 1088 files to transfer, 101 KB of data (no-zstd !)
333 1089 files to transfer, 101 KB of data (no-zstd !)
326 transferred 101 KB in * seconds (*/sec) (glob) (no-zstd !)
334 transferred 101 KB in * seconds (*/sec) (glob) (no-zstd !)
327 1088 files to transfer, 98.4 KB of data (zstd !)
335 1089 files to transfer, 98.5 KB of data (zstd !)
328 transferred 98.4 KB in * seconds (*/sec) (glob) (zstd !)
336 transferred 98.5 KB in * seconds (*/sec) (glob) (zstd !)
329 searching for changes
337 searching for changes
330 no changes found
338 no changes found
331 $ cat server/errors.txt
339 $ cat server/errors.txt
@@ -333,10 +341,10 b' Basic clone'
333 #if stream-bundle2
341 #if stream-bundle2
334 $ hg clone --stream -U http://localhost:$HGPORT clone1
342 $ hg clone --stream -U http://localhost:$HGPORT clone1
335 streaming all changes
343 streaming all changes
336 1091 files to transfer, 101 KB of data (no-zstd !)
344 1092 files to transfer, 101 KB of data (no-zstd !)
337 transferred 101 KB in * seconds (*/sec) (glob) (no-zstd !)
345 transferred 101 KB in * seconds (*/sec) (glob) (no-zstd !)
338 1091 files to transfer, 98.5 KB of data (zstd !)
346 1092 files to transfer, 98.6 KB of data (zstd !)
339 transferred 98.5 KB in * seconds (* */sec) (glob) (zstd !)
347 transferred 98.6 KB in * seconds (* */sec) (glob) (zstd !)
340
348
341 $ ls -1 clone1/.hg/cache
349 $ ls -1 clone1/.hg/cache
342 branch2-base
350 branch2-base
@@ -361,12 +369,12 b' getbundle requests with stream=1 are unc'
361
369
362 #if no-zstd no-rust
370 #if no-zstd no-rust
363 $ f --size --hex --bytes 256 body
371 $ f --size --hex --bytes 256 body
364 body: size=118551
372 body: size=118737
365 0000: 04 6e 6f 6e 65 48 47 32 30 00 00 00 00 00 00 00 |.noneHG20.......|
373 0000: 04 6e 6f 6e 65 48 47 32 30 00 00 00 00 00 00 00 |.noneHG20.......|
366 0010: 80 07 53 54 52 45 41 4d 32 00 00 00 00 03 00 09 |..STREAM2.......|
374 0010: 80 07 53 54 52 45 41 4d 32 00 00 00 00 03 00 09 |..STREAM2.......|
367 0020: 06 09 04 0c 44 62 79 74 65 63 6f 75 6e 74 31 30 |....Dbytecount10|
375 0020: 06 09 04 0c 44 62 79 74 65 63 6f 75 6e 74 31 30 |....Dbytecount10|
368 0030: 33 36 39 35 66 69 6c 65 63 6f 75 6e 74 31 30 39 |3695filecount109|
376 0030: 33 38 33 34 66 69 6c 65 63 6f 75 6e 74 31 30 39 |3834filecount109|
369 0040: 31 72 65 71 75 69 72 65 6d 65 6e 74 73 64 6f 74 |1requirementsdot|
377 0040: 32 72 65 71 75 69 72 65 6d 65 6e 74 73 64 6f 74 |2requirementsdot|
370 0050: 65 6e 63 6f 64 65 25 32 43 66 6e 63 61 63 68 65 |encode%2Cfncache|
378 0050: 65 6e 63 6f 64 65 25 32 43 66 6e 63 61 63 68 65 |encode%2Cfncache|
371 0060: 25 32 43 67 65 6e 65 72 61 6c 64 65 6c 74 61 25 |%2Cgeneraldelta%|
379 0060: 25 32 43 67 65 6e 65 72 61 6c 64 65 6c 74 61 25 |%2Cgeneraldelta%|
372 0070: 32 43 72 65 76 6c 6f 67 76 31 25 32 43 73 70 61 |2Crevlogv1%2Cspa|
380 0070: 32 43 72 65 76 6c 6f 67 76 31 25 32 43 73 70 61 |2Crevlogv1%2Cspa|
@@ -381,12 +389,12 b' getbundle requests with stream=1 are unc'
381 #endif
389 #endif
382 #if zstd no-rust
390 #if zstd no-rust
383 $ f --size --hex --bytes 256 body
391 $ f --size --hex --bytes 256 body
384 body: size=115738
392 body: size=115921
385 0000: 04 6e 6f 6e 65 48 47 32 30 00 00 00 00 00 00 00 |.noneHG20.......|
393 0000: 04 6e 6f 6e 65 48 47 32 30 00 00 00 00 00 00 00 |.noneHG20.......|
386 0010: 9a 07 53 54 52 45 41 4d 32 00 00 00 00 03 00 09 |..STREAM2.......|
394 0010: 9a 07 53 54 52 45 41 4d 32 00 00 00 00 03 00 09 |..STREAM2.......|
387 0020: 06 09 04 0c 5e 62 79 74 65 63 6f 75 6e 74 31 30 |....^bytecount10|
395 0020: 06 09 04 0c 5e 62 79 74 65 63 6f 75 6e 74 31 30 |....^bytecount10|
388 0030: 30 38 35 36 66 69 6c 65 63 6f 75 6e 74 31 30 39 |0856filecount109|
396 0030: 30 39 39 32 66 69 6c 65 63 6f 75 6e 74 31 30 39 |0992filecount109|
389 0040: 31 72 65 71 75 69 72 65 6d 65 6e 74 73 64 6f 74 |1requirementsdot|
397 0040: 32 72 65 71 75 69 72 65 6d 65 6e 74 73 64 6f 74 |2requirementsdot|
390 0050: 65 6e 63 6f 64 65 25 32 43 66 6e 63 61 63 68 65 |encode%2Cfncache|
398 0050: 65 6e 63 6f 64 65 25 32 43 66 6e 63 61 63 68 65 |encode%2Cfncache|
391 0060: 25 32 43 67 65 6e 65 72 61 6c 64 65 6c 74 61 25 |%2Cgeneraldelta%|
399 0060: 25 32 43 67 65 6e 65 72 61 6c 64 65 6c 74 61 25 |%2Cgeneraldelta%|
392 0070: 32 43 72 65 76 6c 6f 67 2d 63 6f 6d 70 72 65 73 |2Crevlog-compres|
400 0070: 32 43 72 65 76 6c 6f 67 2d 63 6f 6d 70 72 65 73 |2Crevlog-compres|
@@ -401,12 +409,12 b' getbundle requests with stream=1 are unc'
401 #endif
409 #endif
402 #if zstd rust no-dirstate-v2
410 #if zstd rust no-dirstate-v2
403 $ f --size --hex --bytes 256 body
411 $ f --size --hex --bytes 256 body
404 body: size=115759
412 body: size=115942
405 0000: 04 6e 6f 6e 65 48 47 32 30 00 00 00 00 00 00 00 |.noneHG20.......|
413 0000: 04 6e 6f 6e 65 48 47 32 30 00 00 00 00 00 00 00 |.noneHG20.......|
406 0010: af 07 53 54 52 45 41 4d 32 00 00 00 00 03 00 09 |..STREAM2.......|
414 0010: af 07 53 54 52 45 41 4d 32 00 00 00 00 03 00 09 |..STREAM2.......|
407 0020: 06 09 04 0c 73 62 79 74 65 63 6f 75 6e 74 31 30 |....sbytecount10|
415 0020: 06 09 04 0c 73 62 79 74 65 63 6f 75 6e 74 31 30 |....sbytecount10|
408 0030: 30 38 35 36 66 69 6c 65 63 6f 75 6e 74 31 30 39 |0856filecount109|
416 0030: 30 39 39 32 66 69 6c 65 63 6f 75 6e 74 31 30 39 |0992filecount109|
409 0040: 31 72 65 71 75 69 72 65 6d 65 6e 74 73 64 6f 74 |1requirementsdot|
417 0040: 32 72 65 71 75 69 72 65 6d 65 6e 74 73 64 6f 74 |2requirementsdot|
410 0050: 65 6e 63 6f 64 65 25 32 43 66 6e 63 61 63 68 65 |encode%2Cfncache|
418 0050: 65 6e 63 6f 64 65 25 32 43 66 6e 63 61 63 68 65 |encode%2Cfncache|
411 0060: 25 32 43 67 65 6e 65 72 61 6c 64 65 6c 74 61 25 |%2Cgeneraldelta%|
419 0060: 25 32 43 67 65 6e 65 72 61 6c 64 65 6c 74 61 25 |%2Cgeneraldelta%|
412 0070: 32 43 70 65 72 73 69 73 74 65 6e 74 2d 6e 6f 64 |2Cpersistent-nod|
420 0070: 32 43 70 65 72 73 69 73 74 65 6e 74 2d 6e 6f 64 |2Cpersistent-nod|
@@ -421,7 +429,7 b' getbundle requests with stream=1 are unc'
421 #endif
429 #endif
422 #if zstd dirstate-v2
430 #if zstd dirstate-v2
423 $ f --size --hex --bytes 256 body
431 $ f --size --hex --bytes 256 body
424 body: size=109449
432 body: size=109549
425 0000: 04 6e 6f 6e 65 48 47 32 30 00 00 00 00 00 00 00 |.noneHG20.......|
433 0000: 04 6e 6f 6e 65 48 47 32 30 00 00 00 00 00 00 00 |.noneHG20.......|
426 0010: c0 07 53 54 52 45 41 4d 32 00 00 00 00 03 00 09 |..STREAM2.......|
434 0010: c0 07 53 54 52 45 41 4d 32 00 00 00 00 03 00 09 |..STREAM2.......|
427 0020: 05 09 04 0c 85 62 79 74 65 63 6f 75 6e 74 39 35 |.....bytecount95|
435 0020: 05 09 04 0c 85 62 79 74 65 63 6f 75 6e 74 39 35 |.....bytecount95|
@@ -445,20 +453,20 b' getbundle requests with stream=1 are unc'
445 #if stream-legacy
453 #if stream-legacy
446 $ hg clone --uncompressed -U http://localhost:$HGPORT clone1-uncompressed
454 $ hg clone --uncompressed -U http://localhost:$HGPORT clone1-uncompressed
447 streaming all changes
455 streaming all changes
448 1088 files to transfer, 101 KB of data (no-zstd !)
456 1089 files to transfer, 101 KB of data (no-zstd !)
449 transferred 101 KB in * seconds (*/sec) (glob) (no-zstd !)
457 transferred 101 KB in * seconds (*/sec) (glob) (no-zstd !)
450 1088 files to transfer, 98.4 KB of data (zstd !)
458 1089 files to transfer, 98.5 KB of data (zstd !)
451 transferred 98.4 KB in * seconds (*/sec) (glob) (zstd !)
459 transferred 98.5 KB in * seconds (*/sec) (glob) (zstd !)
452 searching for changes
460 searching for changes
453 no changes found
461 no changes found
454 #endif
462 #endif
455 #if stream-bundle2
463 #if stream-bundle2
456 $ hg clone --uncompressed -U http://localhost:$HGPORT clone1-uncompressed
464 $ hg clone --uncompressed -U http://localhost:$HGPORT clone1-uncompressed
457 streaming all changes
465 streaming all changes
458 1091 files to transfer, 101 KB of data (no-zstd !)
466 1092 files to transfer, 101 KB of data (no-zstd !)
459 transferred 101 KB in * seconds (* */sec) (glob) (no-zstd !)
467 transferred 101 KB in * seconds (* */sec) (glob) (no-zstd !)
460 1091 files to transfer, 98.5 KB of data (zstd !)
468 1092 files to transfer, 98.6 KB of data (zstd !)
461 transferred 98.5 KB in * seconds (* */sec) (glob) (zstd !)
469 transferred 98.6 KB in * seconds (* */sec) (glob) (zstd !)
462 #endif
470 #endif
463
471
464 Clone with background file closing enabled
472 Clone with background file closing enabled
@@ -470,12 +478,12 b' Clone with background file closing enabl'
470 sending branchmap command
478 sending branchmap command
471 streaming all changes
479 streaming all changes
472 sending stream_out command
480 sending stream_out command
473 1088 files to transfer, 101 KB of data (no-zstd !)
481 1089 files to transfer, 101 KB of data (no-zstd !)
474 1088 files to transfer, 98.4 KB of data (zstd !)
482 1089 files to transfer, 98.5 KB of data (zstd !)
475 starting 4 threads for background file closing
483 starting 4 threads for background file closing
476 updating the branch cache
484 updating the branch cache
477 transferred 101 KB in * seconds (*/sec) (glob) (no-zstd !)
485 transferred 101 KB in * seconds (*/sec) (glob) (no-zstd !)
478 transferred 98.4 KB in * seconds (*/sec) (glob) (zstd !)
486 transferred 98.5 KB in * seconds (*/sec) (glob) (zstd !)
479 query 1; heads
487 query 1; heads
480 sending batch command
488 sending batch command
481 searching for changes
489 searching for changes
@@ -502,15 +510,15 b' Clone with background file closing enabl'
502 bundle2-input-bundle: with-transaction
510 bundle2-input-bundle: with-transaction
503 bundle2-input-part: "stream2" (params: 3 mandatory) supported
511 bundle2-input-part: "stream2" (params: 3 mandatory) supported
504 applying stream bundle
512 applying stream bundle
505 1091 files to transfer, 101 KB of data (no-zstd !)
513 1092 files to transfer, 101 KB of data (no-zstd !)
506 1091 files to transfer, 98.5 KB of data (zstd !)
514 1092 files to transfer, 98.6 KB of data (zstd !)
507 starting 4 threads for background file closing
515 starting 4 threads for background file closing
508 starting 4 threads for background file closing
516 starting 4 threads for background file closing
509 updating the branch cache
517 updating the branch cache
510 transferred 101 KB in * seconds (* */sec) (glob) (no-zstd !)
518 transferred 101 KB in * seconds (* */sec) (glob) (no-zstd !)
511 bundle2-input-part: total payload size 118382 (no-zstd !)
519 bundle2-input-part: total payload size 118568 (no-zstd !)
512 transferred 98.5 KB in * seconds (* */sec) (glob) (zstd !)
520 transferred 98.6 KB in * seconds (* */sec) (glob) (zstd !)
513 bundle2-input-part: total payload size 115543 (zstd !)
521 bundle2-input-part: total payload size 115726 (zstd !)
514 bundle2-input-part: "listkeys" (params: 1 mandatory) supported
522 bundle2-input-part: "listkeys" (params: 1 mandatory) supported
515 bundle2-input-bundle: 2 parts total
523 bundle2-input-bundle: 2 parts total
516 checking for updated bookmarks
524 checking for updated bookmarks
@@ -542,20 +550,20 b' Streaming of secrets can be overridden b'
542 #if stream-legacy
550 #if stream-legacy
543 $ hg clone --stream -U http://localhost:$HGPORT secret-allowed
551 $ hg clone --stream -U http://localhost:$HGPORT secret-allowed
544 streaming all changes
552 streaming all changes
545 1088 files to transfer, 101 KB of data (no-zstd !)
553 1089 files to transfer, 101 KB of data (no-zstd !)
546 transferred 101 KB in * seconds (*/sec) (glob) (no-zstd !)
554 transferred 101 KB in * seconds (*/sec) (glob) (no-zstd !)
547 1088 files to transfer, 98.4 KB of data (zstd !)
555 1089 files to transfer, 98.5 KB of data (zstd !)
548 transferred 98.4 KB in * seconds (*/sec) (glob) (zstd !)
556 transferred 98.5 KB in * seconds (*/sec) (glob) (zstd !)
549 searching for changes
557 searching for changes
550 no changes found
558 no changes found
551 #endif
559 #endif
552 #if stream-bundle2
560 #if stream-bundle2
553 $ hg clone --stream -U http://localhost:$HGPORT secret-allowed
561 $ hg clone --stream -U http://localhost:$HGPORT secret-allowed
554 streaming all changes
562 streaming all changes
555 1091 files to transfer, 101 KB of data (no-zstd !)
563 1092 files to transfer, 101 KB of data (no-zstd !)
556 transferred 101 KB in * seconds (* */sec) (glob) (no-zstd !)
564 transferred 101 KB in * seconds (* */sec) (glob) (no-zstd !)
557 1091 files to transfer, 98.5 KB of data (zstd !)
565 1092 files to transfer, 98.6 KB of data (zstd !)
558 transferred 98.5 KB in * seconds (* */sec) (glob) (zstd !)
566 transferred 98.6 KB in * seconds (* */sec) (glob) (zstd !)
559 #endif
567 #endif
560
568
561 $ killdaemons.py
569 $ killdaemons.py
@@ -694,33 +702,33 b' clone it'
694 #if stream-legacy
702 #if stream-legacy
695 $ hg clone --stream http://localhost:$HGPORT with-bookmarks
703 $ hg clone --stream http://localhost:$HGPORT with-bookmarks
696 streaming all changes
704 streaming all changes
697 1088 files to transfer, 101 KB of data (no-zstd !)
705 1089 files to transfer, 101 KB of data (no-zstd !)
698 transferred 101 KB in * seconds (*) (glob) (no-zstd !)
706 transferred 101 KB in * seconds (*) (glob) (no-zstd !)
699 1088 files to transfer, 98.4 KB of data (zstd !)
707 1089 files to transfer, 98.5 KB of data (zstd !)
700 transferred 98.4 KB in * seconds (*/sec) (glob) (zstd !)
708 transferred 98.5 KB in * seconds (*/sec) (glob) (zstd !)
701 searching for changes
709 searching for changes
702 no changes found
710 no changes found
703 updating to branch default
711 updating to branch default
704 1086 files updated, 0 files merged, 0 files removed, 0 files unresolved
712 1087 files updated, 0 files merged, 0 files removed, 0 files unresolved
705 #endif
713 #endif
706 #if stream-bundle2
714 #if stream-bundle2
707 $ hg clone --stream http://localhost:$HGPORT with-bookmarks
715 $ hg clone --stream http://localhost:$HGPORT with-bookmarks
708 streaming all changes
716 streaming all changes
709 1094 files to transfer, 101 KB of data (no-zstd !)
717 1095 files to transfer, 102 KB of data (no-zstd !)
710 transferred 101 KB in * seconds (* */sec) (glob) (no-zstd !)
718 transferred 102 KB in * seconds (* */sec) (glob) (no-zstd !)
711 1094 files to transfer, 98.7 KB of data (zstd !)
719 1095 files to transfer, 98.8 KB of data (zstd !)
712 transferred 98.7 KB in * seconds (* */sec) (glob) (zstd !)
720 transferred 98.8 KB in * seconds (* */sec) (glob) (zstd !)
713 updating to branch default
721 updating to branch default
714 1086 files updated, 0 files merged, 0 files removed, 0 files unresolved
722 1087 files updated, 0 files merged, 0 files removed, 0 files unresolved
715 #endif
723 #endif
716 $ hg verify -R with-bookmarks
724 $ hg verify -R with-bookmarks
717 checking changesets
725 checking changesets
718 checking manifests
726 checking manifests
719 crosschecking files in changesets and manifests
727 crosschecking files in changesets and manifests
720 checking files
728 checking files
721 checked 3 changesets with 1086 changes to 1086 files
729 checked 3 changesets with 1087 changes to 1087 files
722 $ hg -R with-bookmarks bookmarks
730 $ hg -R with-bookmarks bookmarks
723 some-bookmark 2:7406a3463c3d
731 some-bookmark 2:42e820400e84
724
732
725 Stream repository with phases
733 Stream repository with phases
726 -----------------------------
734 -----------------------------
@@ -735,31 +743,31 b' Clone as publishing'
735 #if stream-legacy
743 #if stream-legacy
736 $ hg clone --stream http://localhost:$HGPORT phase-publish
744 $ hg clone --stream http://localhost:$HGPORT phase-publish
737 streaming all changes
745 streaming all changes
738 1088 files to transfer, 101 KB of data (no-zstd !)
746 1089 files to transfer, 101 KB of data (no-zstd !)
739 transferred 101 KB in * seconds (*) (glob) (no-zstd !)
747 transferred 101 KB in * seconds (*) (glob) (no-zstd !)
740 1088 files to transfer, 98.4 KB of data (zstd !)
748 1089 files to transfer, 98.5 KB of data (zstd !)
741 transferred 98.4 KB in * seconds (*/sec) (glob) (zstd !)
749 transferred 98.5 KB in * seconds (*/sec) (glob) (zstd !)
742 searching for changes
750 searching for changes
743 no changes found
751 no changes found
744 updating to branch default
752 updating to branch default
745 1086 files updated, 0 files merged, 0 files removed, 0 files unresolved
753 1087 files updated, 0 files merged, 0 files removed, 0 files unresolved
746 #endif
754 #endif
747 #if stream-bundle2
755 #if stream-bundle2
748 $ hg clone --stream http://localhost:$HGPORT phase-publish
756 $ hg clone --stream http://localhost:$HGPORT phase-publish
749 streaming all changes
757 streaming all changes
750 1094 files to transfer, 101 KB of data (no-zstd !)
758 1095 files to transfer, 102 KB of data (no-zstd !)
751 transferred 101 KB in * seconds (* */sec) (glob) (no-zstd !)
759 transferred 102 KB in * seconds (* */sec) (glob) (no-zstd !)
752 1094 files to transfer, 98.7 KB of data (zstd !)
760 1095 files to transfer, 98.8 KB of data (zstd !)
753 transferred 98.7 KB in * seconds (* */sec) (glob) (zstd !)
761 transferred 98.8 KB in * seconds (* */sec) (glob) (zstd !)
754 updating to branch default
762 updating to branch default
755 1086 files updated, 0 files merged, 0 files removed, 0 files unresolved
763 1087 files updated, 0 files merged, 0 files removed, 0 files unresolved
756 #endif
764 #endif
757 $ hg verify -R phase-publish
765 $ hg verify -R phase-publish
758 checking changesets
766 checking changesets
759 checking manifests
767 checking manifests
760 crosschecking files in changesets and manifests
768 crosschecking files in changesets and manifests
761 checking files
769 checking files
762 checked 3 changesets with 1086 changes to 1086 files
770 checked 3 changesets with 1087 changes to 1087 files
763 $ hg -R phase-publish phase -r 'all()'
771 $ hg -R phase-publish phase -r 'all()'
764 0: public
772 0: public
765 1: public
773 1: public
@@ -782,14 +790,14 b' stream v1 unsuitable for non-publishing '
782
790
783 $ hg clone --stream http://localhost:$HGPORT phase-no-publish
791 $ hg clone --stream http://localhost:$HGPORT phase-no-publish
784 streaming all changes
792 streaming all changes
785 1088 files to transfer, 101 KB of data (no-zstd !)
793 1089 files to transfer, 101 KB of data (no-zstd !)
786 transferred 101 KB in * seconds (* */sec) (glob) (no-zstd !)
794 transferred 101 KB in * seconds (* */sec) (glob) (no-zstd !)
787 1088 files to transfer, 98.4 KB of data (zstd !)
795 1089 files to transfer, 98.5 KB of data (zstd !)
788 transferred 98.4 KB in * seconds (*/sec) (glob) (zstd !)
796 transferred 98.5 KB in * seconds (*/sec) (glob) (zstd !)
789 searching for changes
797 searching for changes
790 no changes found
798 no changes found
791 updating to branch default
799 updating to branch default
792 1086 files updated, 0 files merged, 0 files removed, 0 files unresolved
800 1087 files updated, 0 files merged, 0 files removed, 0 files unresolved
793 $ hg -R phase-no-publish phase -r 'all()'
801 $ hg -R phase-no-publish phase -r 'all()'
794 0: public
802 0: public
795 1: public
803 1: public
@@ -798,12 +806,12 b' stream v1 unsuitable for non-publishing '
798 #if stream-bundle2
806 #if stream-bundle2
799 $ hg clone --stream http://localhost:$HGPORT phase-no-publish
807 $ hg clone --stream http://localhost:$HGPORT phase-no-publish
800 streaming all changes
808 streaming all changes
801 1095 files to transfer, 101 KB of data (no-zstd !)
809 1096 files to transfer, 102 KB of data (no-zstd !)
802 transferred 101 KB in * seconds (* */sec) (glob) (no-zstd !)
810 transferred 102 KB in * seconds (* */sec) (glob) (no-zstd !)
803 1095 files to transfer, 98.7 KB of data (zstd !)
811 1096 files to transfer, 98.8 KB of data (zstd !)
804 transferred 98.7 KB in * seconds (* */sec) (glob) (zstd !)
812 transferred 98.8 KB in * seconds (* */sec) (glob) (zstd !)
805 updating to branch default
813 updating to branch default
806 1086 files updated, 0 files merged, 0 files removed, 0 files unresolved
814 1087 files updated, 0 files merged, 0 files removed, 0 files unresolved
807 $ hg -R phase-no-publish phase -r 'all()'
815 $ hg -R phase-no-publish phase -r 'all()'
808 0: draft
816 0: draft
809 1: draft
817 1: draft
@@ -814,7 +822,7 b' stream v1 unsuitable for non-publishing '
814 checking manifests
822 checking manifests
815 crosschecking files in changesets and manifests
823 crosschecking files in changesets and manifests
816 checking files
824 checking files
817 checked 3 changesets with 1086 changes to 1086 files
825 checked 3 changesets with 1087 changes to 1087 files
818
826
819 $ killdaemons.py
827 $ killdaemons.py
820
828
@@ -853,22 +861,22 b' Clone non-publishing with obsolescence'
853
861
854 $ hg clone -U --stream http://localhost:$HGPORT with-obsolescence
862 $ hg clone -U --stream http://localhost:$HGPORT with-obsolescence
855 streaming all changes
863 streaming all changes
856 1096 files to transfer, 102 KB of data (no-zstd !)
864 1097 files to transfer, 102 KB of data (no-zstd !)
857 transferred 102 KB in * seconds (* */sec) (glob) (no-zstd !)
865 transferred 102 KB in * seconds (* */sec) (glob) (no-zstd !)
858 1096 files to transfer, 99.1 KB of data (zstd !)
866 1097 files to transfer, 99.2 KB of data (zstd !)
859 transferred 99.1 KB in * seconds (* */sec) (glob) (zstd !)
867 transferred 99.2 KB in * seconds (* */sec) (glob) (zstd !)
860 $ hg -R with-obsolescence log -T '{rev}: {phase}\n'
868 $ hg -R with-obsolescence log -T '{rev}: {phase}\n'
861 2: draft
869 2: draft
862 1: draft
870 1: draft
863 0: draft
871 0: draft
864 $ hg debugobsolete -R with-obsolescence
872 $ hg debugobsolete -R with-obsolescence
865 aa82d3f59e13f41649d8ba3324e1ac8849ba78e7 0 {7406a3463c3de22c4288b4306d199705369a285a} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
873 e53e122156df12330d3a0b72351e3a84bfd14195 0 {42e820400e843bc479ad36068ff772a69c8affe9} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
866 $ hg verify -R with-obsolescence
874 $ hg verify -R with-obsolescence
867 checking changesets
875 checking changesets
868 checking manifests
876 checking manifests
869 crosschecking files in changesets and manifests
877 crosschecking files in changesets and manifests
870 checking files
878 checking files
871 checked 4 changesets with 1087 changes to 1086 files
879 checked 4 changesets with 1088 changes to 1087 files
872
880
873 $ hg clone -U --stream --config experimental.evolution=0 http://localhost:$HGPORT with-obsolescence-no-evolution
881 $ hg clone -U --stream --config experimental.evolution=0 http://localhost:$HGPORT with-obsolescence-no-evolution
874 streaming all changes
882 streaming all changes
General Comments 0
You need to be logged in to leave comments. Login now