mercurial/utils/urlutil.py
changeset 48946 642e31cb55f0
parent 48913 f254fc73d956
child 49694 dd62eb4d2ea5
child 49830 bc59c1e5dd01
equal deleted inserted replaced
48945:55d132525155 48946:642e31cb55f0
    52         raise error.Abort(
    52         raise error.Abort(
    53             _(b"no port number associated with service '%s'") % port
    53             _(b"no port number associated with service '%s'") % port
    54         )
    54         )
    55 
    55 
    56 
    56 
    57 class url(object):
    57 class url:
    58     r"""Reliable URL parser.
    58     r"""Reliable URL parser.
    59 
    59 
    60     This parses URLs and provides attributes for the following
    60     This parses URLs and provides attributes for the following
    61     components:
    61     components:
    62 
    62 
   830             path._apply_suboptions(ui, suboptions)
   830             path._apply_suboptions(ui, suboptions)
   831             new_paths.append(path)
   831             new_paths.append(path)
   832     return new_paths
   832     return new_paths
   833 
   833 
   834 
   834 
   835 class path(object):
   835 class path:
   836     """Represents an individual path and its configuration."""
   836     """Represents an individual path and its configuration."""
   837 
   837 
   838     def __init__(
   838     def __init__(
   839         self,
   839         self,
   840         ui=None,
   840         ui=None,