Show More
@@ -561,12 +561,15 b' def _copyrevlog(tr, destrepo, oldrl, une' | |||||
561 | pass # create all the directories |
|
561 | pass # create all the directories | |
562 |
|
562 | |||
563 | util.copyfile(oldindex, newindex) |
|
563 | util.copyfile(oldindex, newindex) | |
564 |
|
|
564 | copydata = oldrl.opener.exists(oldrl.datafile) | |
|
565 | if copydata: | |||
565 | util.copyfile(olddata, newdata) |
|
566 | util.copyfile(olddata, newdata) | |
566 |
|
567 | |||
567 | if not (unencodedname.endswith('00changelog.i') |
|
568 | if not (unencodedname.endswith('00changelog.i') | |
568 | or unencodedname.endswith('00manifest.i')): |
|
569 | or unencodedname.endswith('00manifest.i')): | |
569 | destrepo.svfs.fncache.add(unencodedname) |
|
570 | destrepo.svfs.fncache.add(unencodedname) | |
|
571 | if copydata: | |||
|
572 | destrepo.svfs.fncache.add(unencodedname[:-2] + '.d') | |||
570 |
|
573 | |||
571 | UPGRADE_CHANGELOG = object() |
|
574 | UPGRADE_CHANGELOG = object() | |
572 | UPGRADE_MANIFEST = object() |
|
575 | UPGRADE_MANIFEST = object() |
@@ -604,10 +604,7 b' Check that the repo still works fine' | |||||
604 | checking manifests |
|
604 | checking manifests | |
605 | crosschecking files in changesets and manifests |
|
605 | crosschecking files in changesets and manifests | |
606 | checking files |
|
606 | checking files | |
607 | warning: revlog 'data/f2.d' not in fncache! |
|
|||
608 | checked 3 changesets with 3 changes to 3 files |
|
607 | checked 3 changesets with 3 changes to 3 files | |
609 | 1 warnings encountered! |
|
|||
610 | hint: run "hg debugrebuildfncache" to recover from corrupt fncache |
|
|||
611 |
|
608 | |||
612 | Check we can select negatively |
|
609 | Check we can select negatively | |
613 |
|
610 | |||
@@ -699,10 +696,7 b' Check that we can select changelog only' | |||||
699 | checking manifests |
|
696 | checking manifests | |
700 | crosschecking files in changesets and manifests |
|
697 | crosschecking files in changesets and manifests | |
701 | checking files |
|
698 | checking files | |
702 | warning: revlog 'data/f2.d' not in fncache! |
|
|||
703 | checked 3 changesets with 3 changes to 3 files |
|
699 | checked 3 changesets with 3 changes to 3 files | |
704 | 1 warnings encountered! |
|
|||
705 | hint: run "hg debugrebuildfncache" to recover from corrupt fncache |
|
|||
706 |
|
700 | |||
707 | Check that we can select filelog only |
|
701 | Check that we can select filelog only | |
708 |
|
702 |
General Comments 0
You need to be logged in to leave comments.
Login now