comparison tests/test-treemanifest.t @ 28006:bb45190a54b7

treemanifests: fix local clone When doing a local clone with treemanifests, the .hg/store/meta/ directory currently does not get copied. To fix it, all we need to do is to add it to the list of directories to copy.
author Martin von Zweigbergk <martinvonz@google.com>
date Tue, 02 Feb 2016 17:31:17 -0800
parents ed94b24a3bb2
children fb92927f9775
comparison
equal deleted inserted replaced
28005:ed94b24a3bb2 28006:bb45190a54b7
511 checking manifests 511 checking manifests
512 crosschecking files in changesets and manifests 512 crosschecking files in changesets and manifests
513 checking files 513 checking files
514 8 files, 3 changesets, 10 total revisions 514 8 files, 3 changesets, 10 total revisions
515 $ cd .. 515 $ cd ..
516
517 Create clones using old repo formats to use in later tests
518 $ hg clone --config format.usestore=False \
519 > --config experimental.changegroup3=True \
520 > http://localhost:$HGPORT2 deeprepo-basicstore
521 requesting all changes
522 adding changesets
523 adding manifests
524 adding file changes
525 added 3 changesets with 10 changes to 8 files
526 updating to branch default
527 8 files updated, 0 files merged, 0 files removed, 0 files unresolved
528 $ grep store deeprepo-basicstore/.hg/requires
529 [1]
530 $ hg clone --config format.usefncache=False \
531 > --config experimental.changegroup3=True \
532 > http://localhost:$HGPORT2 deeprepo-encodedstore
533 requesting all changes
534 adding changesets
535 adding manifests
536 adding file changes
537 added 3 changesets with 10 changes to 8 files
538 updating to branch default
539 8 files updated, 0 files merged, 0 files removed, 0 files unresolved
540 $ grep fncache deeprepo-encodedstore/.hg/requires
541 [1]
542
543 Local clone with basicstore
544 $ hg clone -U deeprepo-basicstore local-clone-basicstore
545 $ hg -R local-clone-basicstore verify
546 checking changesets
547 checking manifests
548 crosschecking files in changesets and manifests
549 checking files
550 8 files, 3 changesets, 10 total revisions
551
552 Local clone with encodedstore
553 $ hg clone -U deeprepo-encodedstore local-clone-encodedstore
554 $ hg -R local-clone-encodedstore verify
555 checking changesets
556 checking manifests
557 crosschecking files in changesets and manifests
558 checking files
559 8 files, 3 changesets, 10 total revisions
560
561 Local clone with fncachestore
562 $ hg clone -U deeprepo local-clone-fncachestore
563 $ hg -R local-clone-fncachestore verify
564 checking changesets
565 checking manifests
566 crosschecking files in changesets and manifests
567 checking files
568 8 files, 3 changesets, 10 total revisions