equal
deleted
inserted
replaced
656 for p in old_paths: |
656 for p in old_paths: |
657 new_paths.extend(_chain_path(p, ui, self)) |
657 new_paths.extend(_chain_path(p, ui, self)) |
658 self[name] = new_paths |
658 self[name] = new_paths |
659 |
659 |
660 |
660 |
661 _pathsuboptions: "Dict[bytes, Tuple[str, Callable]]" = {} |
661 _pathsuboptions: Dict[bytes, Tuple[str, Callable]] = {} |
662 # a dictionnary of methods that can be used to format a sub-option value |
662 # a dictionnary of methods that can be used to format a sub-option value |
663 path_suboptions_display = {} |
663 path_suboptions_display = {} |
664 |
664 |
665 |
665 |
666 def pathsuboption(option: bytes, attr: str, display=pycompat.bytestr): |
666 def pathsuboption(option: bytes, attr: str, display=pycompat.bytestr): |