mercurial/pathutil.py
changeset 51287 f4a0806081f2
parent 51285 8b2ea2246a5f
child 51589 24844407fa0d
equal deleted inserted replaced
51286:7bd7fcc711f2 51287:f4a0806081f2
    20     util,
    20     util,
    21 )
    21 )
    22 
    22 
    23 rustdirs = policy.importrust('dirstate', 'Dirs')
    23 rustdirs = policy.importrust('dirstate', 'Dirs')
    24 parsers = policy.importmod('parsers')
    24 parsers = policy.importmod('parsers')
    25 
       
    26 # keeps pyflakes happy
       
    27 assert [
       
    28     Any,
       
    29     Callable,
       
    30     Iterator,
       
    31     Optional,
       
    32 ]
       
    33 
    25 
    34 
    26 
    35 def _lowerclean(s: bytes) -> bytes:
    27 def _lowerclean(s: bytes) -> bytes:
    36     return encoding.hfsignoreclean(s.lower())
    28     return encoding.hfsignoreclean(s.lower())
    37 
    29