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