490 self._concurrencychecker = concurrencychecker |
490 self._concurrencychecker = concurrencychecker |
491 |
491 |
492 @property |
492 @property |
493 def _generaldelta(self): |
493 def _generaldelta(self): |
494 """temporary compatibility proxy""" |
494 """temporary compatibility proxy""" |
|
495 util.nouideprecwarn( |
|
496 b"use revlog.delta_config.general_delta", b"6.6", stacklevel=2 |
|
497 ) |
495 return self.delta_config.general_delta |
498 return self.delta_config.general_delta |
496 |
499 |
497 @property |
500 @property |
498 def _checkambig(self): |
501 def _checkambig(self): |
499 """temporary compatibility proxy""" |
502 """temporary compatibility proxy""" |
|
503 util.nouideprecwarn( |
|
504 b"use revlog.data_config.checkambig", b"6.6", stacklevel=2 |
|
505 ) |
500 return self.data_config.check_ambig |
506 return self.data_config.check_ambig |
501 |
507 |
502 @property |
508 @property |
503 def _mmaplargeindex(self): |
509 def _mmaplargeindex(self): |
504 """temporary compatibility proxy""" |
510 """temporary compatibility proxy""" |
|
511 util.nouideprecwarn( |
|
512 b"use revlog.data_config.mmap_large_index", b"6.6", stacklevel=2 |
|
513 ) |
505 return self.data_config.mmap_large_index |
514 return self.data_config.mmap_large_index |
506 |
515 |
507 @property |
516 @property |
508 def _censorable(self): |
517 def _censorable(self): |
509 """temporary compatibility proxy""" |
518 """temporary compatibility proxy""" |
|
519 util.nouideprecwarn( |
|
520 b"use revlog.feature_config.censorable", b"6.6", stacklevel=2 |
|
521 ) |
510 return self.feature_config.censorable |
522 return self.feature_config.censorable |
511 |
523 |
512 @property |
524 @property |
513 def _chunkcachesize(self): |
525 def _chunkcachesize(self): |
514 """temporary compatibility proxy""" |
526 """temporary compatibility proxy""" |
|
527 util.nouideprecwarn( |
|
528 b"use revlog.data_config.chunk_cache_size", b"6.6", stacklevel=2 |
|
529 ) |
515 return self.data_config.chunk_cache_size |
530 return self.data_config.chunk_cache_size |
516 |
531 |
517 @property |
532 @property |
518 def _maxchainlen(self): |
533 def _maxchainlen(self): |
519 """temporary compatibility proxy""" |
534 """temporary compatibility proxy""" |
|
535 util.nouideprecwarn( |
|
536 b"use revlog.delta_config.max_chain_len", b"6.6", stacklevel=2 |
|
537 ) |
520 return self.delta_config.max_chain_len |
538 return self.delta_config.max_chain_len |
521 |
539 |
522 @property |
540 @property |
523 def _deltabothparents(self): |
541 def _deltabothparents(self): |
524 """temporary compatibility proxy""" |
542 """temporary compatibility proxy""" |
|
543 util.nouideprecwarn( |
|
544 b"use revlog.delta_config.delta_both_parents", b"6.6", stacklevel=2 |
|
545 ) |
525 return self.delta_config.delta_both_parents |
546 return self.delta_config.delta_both_parents |
526 |
547 |
527 @property |
548 @property |
528 def _candidate_group_chunk_size(self): |
549 def _candidate_group_chunk_size(self): |
529 """temporary compatibility proxy""" |
550 """temporary compatibility proxy""" |
|
551 util.nouideprecwarn( |
|
552 b"use revlog.delta_config.candidate_group_chunk_size", |
|
553 b"6.6", |
|
554 stacklevel=2, |
|
555 ) |
530 return self.delta_config.candidate_group_chunk_size |
556 return self.delta_config.candidate_group_chunk_size |
531 |
557 |
532 @property |
558 @property |
533 def _debug_delta(self): |
559 def _debug_delta(self): |
534 """temporary compatibility proxy""" |
560 """temporary compatibility proxy""" |
|
561 util.nouideprecwarn( |
|
562 b"use revlog.delta_config.debug_delta", b"6.6", stacklevel=2 |
|
563 ) |
535 return self.delta_config.debug_delta |
564 return self.delta_config.debug_delta |
536 |
565 |
537 @property |
566 @property |
538 def _compengine(self): |
567 def _compengine(self): |
539 """temporary compatibility proxy""" |
568 """temporary compatibility proxy""" |
|
569 util.nouideprecwarn( |
|
570 b"use revlog.feature_config.compression_engine", |
|
571 b"6.6", |
|
572 stacklevel=2, |
|
573 ) |
540 return self.feature_config.compression_engine |
574 return self.feature_config.compression_engine |
541 |
575 |
542 @property |
576 @property |
543 def _compengineopts(self): |
577 def _compengineopts(self): |
544 """temporary compatibility proxy""" |
578 """temporary compatibility proxy""" |
|
579 util.nouideprecwarn( |
|
580 b"use revlog.feature_config.compression_engine_options", |
|
581 b"6.6", |
|
582 stacklevel=2, |
|
583 ) |
545 return self.feature_config.compression_engine_options |
584 return self.feature_config.compression_engine_options |
546 |
585 |
547 @property |
586 @property |
548 def _maxdeltachainspan(self): |
587 def _maxdeltachainspan(self): |
549 """temporary compatibility proxy""" |
588 """temporary compatibility proxy""" |
|
589 util.nouideprecwarn( |
|
590 b"use revlog.delta_config.max_deltachain_span", b"6.6", stacklevel=2 |
|
591 ) |
550 return self.delta_config.max_deltachain_span |
592 return self.delta_config.max_deltachain_span |
551 |
593 |
552 @property |
594 @property |
553 def _withsparseread(self): |
595 def _withsparseread(self): |
554 """temporary compatibility proxy""" |
596 """temporary compatibility proxy""" |
|
597 util.nouideprecwarn( |
|
598 b"use revlog.data_config.with_sparse_read", b"6.6", stacklevel=2 |
|
599 ) |
555 return self.data_config.with_sparse_read |
600 return self.data_config.with_sparse_read |
556 |
601 |
557 @property |
602 @property |
558 def _sparserevlog(self): |
603 def _sparserevlog(self): |
559 """temporary compatibility proxy""" |
604 """temporary compatibility proxy""" |
|
605 util.nouideprecwarn( |
|
606 b"use revlog.delta_config.sparse_revlog", b"6.6", stacklevel=2 |
|
607 ) |
560 return self.delta_config.sparse_revlog |
608 return self.delta_config.sparse_revlog |
561 |
609 |
562 @property |
610 @property |
563 def hassidedata(self): |
611 def hassidedata(self): |
564 """temporary compatibility proxy""" |
612 """temporary compatibility proxy""" |
|
613 util.nouideprecwarn( |
|
614 b"use revlog.feature_config.has_side_data", b"6.6", stacklevel=2 |
|
615 ) |
565 return self.feature_config.has_side_data |
616 return self.feature_config.has_side_data |
566 |
617 |
567 @property |
618 @property |
568 def _srdensitythreshold(self): |
619 def _srdensitythreshold(self): |
569 """temporary compatibility proxy""" |
620 """temporary compatibility proxy""" |
|
621 util.nouideprecwarn( |
|
622 b"use revlog.data_config.sr_density_threshold", |
|
623 b"6.6", |
|
624 stacklevel=2, |
|
625 ) |
570 return self.data_config.sr_density_threshold |
626 return self.data_config.sr_density_threshold |
571 |
627 |
572 @property |
628 @property |
573 def _srmingapsize(self): |
629 def _srmingapsize(self): |
574 """temporary compatibility proxy""" |
630 """temporary compatibility proxy""" |
|
631 util.nouideprecwarn( |
|
632 b"use revlog.data_config.sr_min_gap_size", b"6.6", stacklevel=2 |
|
633 ) |
575 return self.data_config.sr_min_gap_size |
634 return self.data_config.sr_min_gap_size |
576 |
635 |
577 @property |
636 @property |
578 def _compute_rank(self): |
637 def _compute_rank(self): |
579 """temporary compatibility proxy""" |
638 """temporary compatibility proxy""" |
|
639 util.nouideprecwarn( |
|
640 b"use revlog.feature_config.compute_rank", b"6.6", stacklevel=2 |
|
641 ) |
580 return self.feature_config.compute_rank |
642 return self.feature_config.compute_rank |
581 |
643 |
582 @property |
644 @property |
583 def canonical_parent_order(self): |
645 def canonical_parent_order(self): |
584 """temporary compatibility proxy""" |
646 """temporary compatibility proxy""" |
|
647 util.nouideprecwarn( |
|
648 b"use revlog.feature_config.canonical_parent_order", |
|
649 b"6.6", |
|
650 stacklevel=2, |
|
651 ) |
585 return self.feature_config.canonical_parent_order |
652 return self.feature_config.canonical_parent_order |
586 |
653 |
587 @property |
654 @property |
588 def _lazydelta(self): |
655 def _lazydelta(self): |
589 """temporary compatibility proxy""" |
656 """temporary compatibility proxy""" |
|
657 util.nouideprecwarn( |
|
658 b"use revlog.delta_config.lazy_delta", b"6.6", stacklevel=2 |
|
659 ) |
590 return self.delta_config.lazy_delta |
660 return self.delta_config.lazy_delta |
591 |
661 |
592 @property |
662 @property |
593 def _lazydeltabase(self): |
663 def _lazydeltabase(self): |
594 """temporary compatibility proxy""" |
664 """temporary compatibility proxy""" |
|
665 util.nouideprecwarn( |
|
666 b"use revlog.delta_config.lazy_delta_base", b"6.6", stacklevel=2 |
|
667 ) |
595 return self.delta_config.lazy_delta_base |
668 return self.delta_config.lazy_delta_base |
596 |
669 |
597 def _init_opts(self): |
670 def _init_opts(self): |
598 """process options (from above/config) to setup associated default revlog mode |
671 """process options (from above/config) to setup associated default revlog mode |
599 |
672 |