mercurial/utils/urlutil.py
changeset 52645 4cb75772818d
parent 52640 24ee91ba9aa8
child 52895 ba343f763595
equal deleted inserted replaced
52644:e627cc25b6f3 52645:4cb75772818d
   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):