##// END OF EJS Templates
typing: add type hints to `mercurial.verify._normpath()`...
Matt Harbison -
r52611:45828bc3 default
parent child Browse files
Show More
@@ -31,7 +31,7 b' def verify(repo, level=None):'
31 31 return v.verify()
32 32
33 33
34 def _normpath(f):
34 def _normpath(f: bytes) -> bytes:
35 35 # under hg < 2.4, convert didn't sanitize paths properly, so a
36 36 # converted repo may contain repeated slashes
37 37 while b'//' in f:
General Comments 0
You need to be logged in to leave comments. Login now