##// END OF EJS Templates
tests: conditionalize test-treemanifest.t...
Gregory Szorc -
r37450:28ee8b28 default
parent child Browse files
Show More
@@ -474,7 +474,12 b' Excludes with a glob should not exclude '
474 474
475 475 Test files for a subdirectory.
476 476
477 #if reporevlogstore
477 478 $ rm -r .hg/store/meta/~2e_a
479 #endif
480 #if reposimplestore
481 $ rm -r .hg/store/meta/._a
482 #endif
478 483 $ hg files -r . b
479 484 b/bar/fruits.txt
480 485 b/bar/orange/fly/gnat.py
@@ -490,7 +495,12 b' Test files for a subdirectory.'
490 495
491 496 Test files with just includes and excludes.
492 497
498 #if reporevlogstore
493 499 $ rm -r .hg/store/meta/~2e_a
500 #endif
501 #if reposimplestore
502 $ rm -r .hg/store/meta/._a
503 #endif
494 504 $ rm -r .hg/store/meta/b/bar/orange/fly
495 505 $ rm -r .hg/store/meta/b/foo/apple/bees
496 506 $ hg files -r . -I path:b/bar -X path:b/bar/orange/fly -I path:b/foo -X path:b/foo/apple/bees
@@ -502,7 +512,12 b' Test files with just includes and exclud'
502 512
503 513 Test files for a subdirectory, excluding a directory within it.
504 514
515 #if reporevlogstore
505 516 $ rm -r .hg/store/meta/~2e_a
517 #endif
518 #if reposimplestore
519 $ rm -r .hg/store/meta/._a
520 #endif
506 521 $ rm -r .hg/store/meta/b/foo
507 522 $ hg files -r . -X path:b/foo b
508 523 b/bar/fruits.txt
@@ -518,7 +533,12 b' Test files for a subdirectory, excluding'
518 533 Test files for a sub directory, including only a directory within it, and
519 534 including an unrelated directory.
520 535
536 #if reporevlogstore
521 537 $ rm -r .hg/store/meta/~2e_a
538 #endif
539 #if reposimplestore
540 $ rm -r .hg/store/meta/._a
541 #endif
522 542 $ rm -r .hg/store/meta/b/foo
523 543 $ hg files -r . -I path:b/bar/orange -I path:a b
524 544 b/bar/orange/fly/gnat.py
@@ -532,7 +552,12 b' including an unrelated directory.'
532 552 Test files for a pattern, including a directory, and excluding a directory
533 553 within that.
534 554
555 #if reporevlogstore
535 556 $ rm -r .hg/store/meta/~2e_a
557 #endif
558 #if reposimplestore
559 $ rm -r .hg/store/meta/._a
560 #endif
536 561 $ rm -r .hg/store/meta/b/foo
537 562 $ rm -r .hg/store/meta/b/bar/orange
538 563 $ hg files -r . glob:**.txt -I path:b/bar -X path:b/bar/orange
@@ -601,12 +626,12 b' Verify reports missing dirlog'
601 626 b/@1: parent-directory manifest refers to unknown revision f065da70369e
602 627 b/@2: parent-directory manifest refers to unknown revision ac0d30948e0b
603 628 b/@3: parent-directory manifest refers to unknown revision 367152e6af28
604 warning: orphan data file 'meta/b/bar/00manifest.i'
605 warning: orphan data file 'meta/b/bar/orange/00manifest.i'
606 warning: orphan data file 'meta/b/bar/orange/fly/00manifest.i'
607 warning: orphan data file 'meta/b/foo/00manifest.i'
608 warning: orphan data file 'meta/b/foo/apple/00manifest.i'
609 warning: orphan data file 'meta/b/foo/apple/bees/00manifest.i'
629 warning: orphan data file 'meta/b/bar/00manifest.i' (reporevlogstore !)
630 warning: orphan data file 'meta/b/bar/orange/00manifest.i' (reporevlogstore !)
631 warning: orphan data file 'meta/b/bar/orange/fly/00manifest.i' (reporevlogstore !)
632 warning: orphan data file 'meta/b/foo/00manifest.i' (reporevlogstore !)
633 warning: orphan data file 'meta/b/foo/apple/00manifest.i' (reporevlogstore !)
634 warning: orphan data file 'meta/b/foo/apple/bees/00manifest.i' (reporevlogstore !)
610 635 crosschecking files in changesets and manifests
611 636 b/bar/fruits.txt@0: in changeset but not in manifest
612 637 b/bar/orange/fly/gnat.py@0: in changeset but not in manifest
@@ -614,7 +639,7 b' Verify reports missing dirlog'
614 639 b/foo/apple/bees/flower.py@0: in changeset but not in manifest
615 640 checking files
616 641 8 files, 4 changesets, 18 total revisions
617 6 warnings encountered!
642 6 warnings encountered! (reporevlogstore !)
618 643 9 integrity errors encountered!
619 644 (first damaged changeset appears to be 0)
620 645 [1]
@@ -669,6 +694,8 b' requires got updated to include treemani'
669 694 Tree manifest revlogs exist.
670 695 $ find deepclone/.hg/store/meta | sort
671 696 deepclone/.hg/store/meta
697 deepclone/.hg/store/meta/._a (reposimplestore !)
698 deepclone/.hg/store/meta/._a/00manifest.i (reposimplestore !)
672 699 deepclone/.hg/store/meta/b
673 700 deepclone/.hg/store/meta/b/00manifest.i
674 701 deepclone/.hg/store/meta/b/bar
@@ -683,8 +710,8 b' Tree manifest revlogs exist.'
683 710 deepclone/.hg/store/meta/b/foo/apple/00manifest.i
684 711 deepclone/.hg/store/meta/b/foo/apple/bees
685 712 deepclone/.hg/store/meta/b/foo/apple/bees/00manifest.i
686 deepclone/.hg/store/meta/~2e_a
687 deepclone/.hg/store/meta/~2e_a/00manifest.i
713 deepclone/.hg/store/meta/~2e_a (reporevlogstore !)
714 deepclone/.hg/store/meta/~2e_a/00manifest.i (reporevlogstore !)
688 715 Verify passes.
689 716 $ cd deepclone
690 717 $ hg verify
@@ -696,6 +723,7 b' Verify passes.'
696 723 8 files, 4 changesets, 18 total revisions
697 724 $ cd ..
698 725
726 #if reporevlogstore
699 727 Create clones using old repo formats to use in later tests
700 728 $ hg clone --config format.usestore=False \
701 729 > --config experimental.changegroup3=True \
@@ -817,6 +845,8 b' Packed bundle'
817 845 $ hg debugbundle --spec repo-packed.hg
818 846 none-packed1;requirements%3Dgeneraldelta%2Crevlogv1%2Ctreemanifest
819 847
848 #endif
849
820 850 Bundle with changegroup2 is not supported
821 851
822 852 $ hg -R deeprepo bundle --all -t v2 deeprepo.bundle
General Comments 0
You need to be logged in to leave comments. Login now