Show More
@@ -431,3 +431,73 b' Test where attribute is missing from som' | |||||
431 | finished applying clone bundle |
|
431 | finished applying clone bundle | |
432 | searching for changes |
|
432 | searching for changes | |
433 | no changes found |
|
433 | no changes found | |
|
434 | ||||
|
435 | Test interaction between clone bundles and --uncompressed | |||
|
436 | ||||
|
437 | A manifest with just a gzip bundle | |||
|
438 | ||||
|
439 | $ cat > server/.hg/clonebundles.manifest << EOF | |||
|
440 | > http://localhost:$HGPORT1/gz-a.hg BUNDLESPEC=gzip-v2 | |||
|
441 | > EOF | |||
|
442 | ||||
|
443 | $ hg clone -U --uncompressed http://localhost:$HGPORT uncompressed-gzip | |||
|
444 | streaming all changes | |||
|
445 | 4 files to transfer, 613 bytes of data | |||
|
446 | transferred 613 bytes in * seconds (*) (glob) | |||
|
447 | searching for changes | |||
|
448 | no changes found | |||
|
449 | ||||
|
450 | A manifest with a stream clone but no BUNDLESPEC | |||
|
451 | ||||
|
452 | $ cat > server/.hg/clonebundles.manifest << EOF | |||
|
453 | > http://localhost:$HGPORT1/packed.hg | |||
|
454 | > EOF | |||
|
455 | ||||
|
456 | $ hg clone -U --uncompressed http://localhost:$HGPORT uncompressed-no-bundlespec | |||
|
457 | streaming all changes | |||
|
458 | 4 files to transfer, 613 bytes of data | |||
|
459 | transferred 613 bytes in * seconds (*) (glob) | |||
|
460 | searching for changes | |||
|
461 | no changes found | |||
|
462 | ||||
|
463 | A manifest with a gzip bundle and a stream clone | |||
|
464 | ||||
|
465 | $ cat > server/.hg/clonebundles.manifest << EOF | |||
|
466 | > http://localhost:$HGPORT1/gz-a.hg BUNDLESPEC=gzip-v2 | |||
|
467 | > http://localhost:$HGPORT1/packed.hg BUNDLESPEC=none-packed1 | |||
|
468 | > EOF | |||
|
469 | ||||
|
470 | $ hg clone -U --uncompressed http://localhost:$HGPORT uncompressed-gzip-packed | |||
|
471 | streaming all changes | |||
|
472 | 4 files to transfer, 613 bytes of data | |||
|
473 | transferred 613 bytes in * seconds (*) (glob) | |||
|
474 | searching for changes | |||
|
475 | no changes found | |||
|
476 | ||||
|
477 | A manifest with a gzip bundle and stream clone with supported requirements | |||
|
478 | ||||
|
479 | $ cat > server/.hg/clonebundles.manifest << EOF | |||
|
480 | > http://localhost:$HGPORT1/gz-a.hg BUNDLESPEC=gzip-v2 | |||
|
481 | > http://localhost:$HGPORT1/packed.hg BUNDLESPEC=none-packed1;requirements%3Drevlogv1 | |||
|
482 | > EOF | |||
|
483 | ||||
|
484 | $ hg clone -U --uncompressed http://localhost:$HGPORT uncompressed-gzip-packed-requirements | |||
|
485 | streaming all changes | |||
|
486 | 4 files to transfer, 613 bytes of data | |||
|
487 | transferred 613 bytes in * seconds (*) (glob) | |||
|
488 | searching for changes | |||
|
489 | no changes found | |||
|
490 | ||||
|
491 | A manifest with a gzip bundle and a stream clone with unsupported requirements | |||
|
492 | ||||
|
493 | $ cat > server/.hg/clonebundles.manifest << EOF | |||
|
494 | > http://localhost:$HGPORT1/gz-a.hg BUNDLESPEC=gzip-v2 | |||
|
495 | > http://localhost:$HGPORT1/packed.hg BUNDLESPEC=none-packed1;requirements%3Drevlogv42 | |||
|
496 | > EOF | |||
|
497 | ||||
|
498 | $ hg clone -U --uncompressed http://localhost:$HGPORT uncompressed-gzip-packed-unsupported-requirements | |||
|
499 | streaming all changes | |||
|
500 | 4 files to transfer, 613 bytes of data | |||
|
501 | transferred 613 bytes in * seconds (*) (glob) | |||
|
502 | searching for changes | |||
|
503 | no changes found |
General Comments 0
You need to be logged in to leave comments.
Login now