mercurial/httppeer.py
changeset 42814 2c4f656c8e9f
parent 42813 268662aac075
child 42852 58f73e9ccfff
equal deleted inserted replaced
42813:268662aac075 42814:2c4f656c8e9f
    14 import socket
    14 import socket
    15 import struct
    15 import struct
    16 import weakref
    16 import weakref
    17 
    17 
    18 from .i18n import _
    18 from .i18n import _
    19 from .interfaces import (
       
    20     repository,
       
    21 )
       
    22 from . import (
    19 from . import (
    23     bundle2,
    20     bundle2,
    24     error,
    21     error,
    25     httpconnection,
    22     httpconnection,
    26     pycompat,
    23     pycompat,
    31     wireprototypes,
    28     wireprototypes,
    32     wireprotov1peer,
    29     wireprotov1peer,
    33     wireprotov2peer,
    30     wireprotov2peer,
    34     wireprotov2server,
    31     wireprotov2server,
    35 )
    32 )
       
    33 from .interfaces import (
       
    34     repository,
       
    35     util as interfaceutil,
       
    36 )
    36 from .utils import (
    37 from .utils import (
    37     cborutil,
    38     cborutil,
    38     interfaceutil,
       
    39     stringutil,
    39     stringutil,
    40 )
    40 )
    41 
    41 
    42 httplib = util.httplib
    42 httplib = util.httplib
    43 urlerr = util.urlerr
    43 urlerr = util.urlerr