Show More
@@ -530,3 +530,82 b' Check the children is fine' | |||||
530 | *50003 (re) |
|
530 | *50003 (re) | |
531 |
|
531 | |||
532 | #endif |
|
532 | #endif | |
|
533 | ||||
|
534 | Testing repository upgrade with censors revision | |||
|
535 | ================================================ | |||
|
536 | ||||
|
537 | $ cd ../rclone | |||
|
538 | ||||
|
539 | With the "abort" policy | |||
|
540 | ======================= | |||
|
541 | ||||
|
542 | $ hg verify --config censor.policy=ignore | |||
|
543 | checking changesets | |||
|
544 | checking manifests | |||
|
545 | crosschecking files in changesets and manifests | |||
|
546 | checking files | |||
|
547 | checking dirstate | |||
|
548 | checked 14 changesets with 15 changes to 2 files | |||
|
549 | $ hg debugupgraderepo --run --quiet \ | |||
|
550 | > --optimize re-delta-parent \ | |||
|
551 | > --config censor.policy=abort | |||
|
552 | upgrade will perform the following actions: | |||
|
553 | ||||
|
554 | requirements | |||
|
555 | preserved: * (glob) | |||
|
556 | ||||
|
557 | optimisations: re-delta-parent | |||
|
558 | ||||
|
559 | processed revlogs: | |||
|
560 | - all-filelogs | |||
|
561 | - changelog | |||
|
562 | - manifest | |||
|
563 | ||||
|
564 | transaction abort! | |||
|
565 | rollback completed | |||
|
566 | abort: file censored target:613bc869fceb | |||
|
567 | [255] | |||
|
568 | $ hg verify --config censor.policy=ignore | |||
|
569 | checking changesets | |||
|
570 | checking manifests | |||
|
571 | crosschecking files in changesets and manifests | |||
|
572 | checking files | |||
|
573 | checking dirstate | |||
|
574 | checked 14 changesets with 15 changes to 2 files | |||
|
575 | ||||
|
576 | With the "ignore" policy | |||
|
577 | ======================== | |||
|
578 | ||||
|
579 | $ hg verify --config censor.policy=ignore | |||
|
580 | checking changesets | |||
|
581 | checking manifests | |||
|
582 | crosschecking files in changesets and manifests | |||
|
583 | checking files | |||
|
584 | checking dirstate | |||
|
585 | checked 14 changesets with 15 changes to 2 files | |||
|
586 | $ hg debugupgraderepo --run --quiet \ | |||
|
587 | > --optimize re-delta-parent \ | |||
|
588 | > --config censor.policy=ignore | |||
|
589 | upgrade will perform the following actions: | |||
|
590 | ||||
|
591 | requirements | |||
|
592 | preserved: * (glob) | |||
|
593 | ||||
|
594 | optimisations: re-delta-parent | |||
|
595 | ||||
|
596 | processed revlogs: | |||
|
597 | - all-filelogs | |||
|
598 | - changelog | |||
|
599 | - manifest | |||
|
600 | ||||
|
601 | transaction abort! | |||
|
602 | rollback completed | |||
|
603 | abort: file censored target:613bc869fceb | |||
|
604 | [255] | |||
|
605 | $ hg verify --config censor.policy=ignore | |||
|
606 | checking changesets | |||
|
607 | checking manifests | |||
|
608 | crosschecking files in changesets and manifests | |||
|
609 | checking files | |||
|
610 | checking dirstate | |||
|
611 | checked 14 changesets with 15 changes to 2 files |
General Comments 0
You need to be logged in to leave comments.
Login now