mercurial/verify.py
changeset 51718 45828bc3c3d6
parent 51015 812cd3dfa4cb
child 51787 73b9558a0c56
--- a/mercurial/verify.py	Thu Jul 18 20:16:31 2024 -0400
+++ b/mercurial/verify.py	Thu Jul 18 20:34:35 2024 -0400
@@ -31,7 +31,7 @@
         return v.verify()
 
 
-def _normpath(f):
+def _normpath(f: bytes) -> bytes:
     # under hg < 2.4, convert didn't sanitize paths properly, so a
     # converted repo may contain repeated slashes
     while b'//' in f: