mercurial/utils/urlutil.py
changeset 51860 1c5810ce737e
parent 51666 a09435c0eb14
child 52640 24ee91ba9aa8
equal deleted inserted replaced
51859:f4733654f144 51860:1c5810ce737e
     2 #
     2 #
     3 # Copyright 2005-2023 Olivia Mackall <olivia@selenic.com> and others
     3 # Copyright 2005-2023 Olivia Mackall <olivia@selenic.com> and others
     4 #
     4 #
     5 # This software may be used and distributed according to the terms of the
     5 # This software may be used and distributed according to the terms of the
     6 # GNU General Public License version 2 or any later version.
     6 # GNU General Public License version 2 or any later version.
       
     7 
       
     8 from __future__ import annotations
       
     9 
     7 import os
    10 import os
     8 import re as remod
    11 import re as remod
     9 import socket
    12 import socket
    10 
    13 
    11 from typing import (
    14 from typing import (