Show More
@@ -290,7 +290,7 b' def _calcmode(vfs):' | |||||
290 | mode = None |
|
290 | mode = None | |
291 | return mode |
|
291 | return mode | |
292 |
|
292 | |||
293 | _data = ('data 00manifest.d 00manifest.i 00changelog.d 00changelog.i' |
|
293 | _data = ('data meta 00manifest.d 00manifest.i 00changelog.d 00changelog.i' | |
294 | ' phaseroots obsstore') |
|
294 | ' phaseroots obsstore') | |
295 |
|
295 | |||
296 | class basicstore(object): |
|
296 | class basicstore(object): | |
@@ -504,7 +504,7 b' class fncachestore(basicstore):' | |||||
504 | raise |
|
504 | raise | |
505 |
|
505 | |||
506 | def copylist(self): |
|
506 | def copylist(self): | |
507 | d = ('data dh fncache phaseroots obsstore' |
|
507 | d = ('data meta dh fncache phaseroots obsstore' | |
508 | ' 00manifest.d 00manifest.i 00changelog.d 00changelog.i') |
|
508 | ' 00manifest.d 00manifest.i 00changelog.d 00changelog.i') | |
509 | return (['requires', '00changelog.i'] + |
|
509 | return (['requires', '00changelog.i'] + | |
510 | ['store/' + f for f in d.split()]) |
|
510 | ['store/' + f for f in d.split()]) |
@@ -513,3 +513,56 b' Verify passes.' | |||||
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 |
General Comments 0
You need to be logged in to leave comments.
Login now