##// END OF EJS Templates
treemanifests: fix local clone...
Martin von Zweigbergk -
r28006:bb45190a default
parent child Browse files
Show More
@@ -290,7 +290,7 b' def _calcmode(vfs):'
290 290 mode = None
291 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 294 ' phaseroots obsstore')
295 295
296 296 class basicstore(object):
@@ -504,7 +504,7 b' class fncachestore(basicstore):'
504 504 raise
505 505
506 506 def copylist(self):
507 d = ('data dh fncache phaseroots obsstore'
507 d = ('data meta dh fncache phaseroots obsstore'
508 508 ' 00manifest.d 00manifest.i 00changelog.d 00changelog.i')
509 509 return (['requires', '00changelog.i'] +
510 510 ['store/' + f for f in d.split()])
@@ -513,3 +513,56 b' Verify passes.'
513 513 checking files
514 514 8 files, 3 changesets, 10 total revisions
515 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