##// END OF EJS Templates
pathutil: slightly faster path audit in the common case
Arseniy Alekseyev -
r50779:44deb5a1 default
parent child Browse files
Show More
@@ -90,6 +90,7 b' class pathauditor:'
90 90 _(b"path contains illegal component: %s") % path
91 91 )
92 92 # Windows shortname aliases
93 if b"~" in path:
93 94 for p in parts:
94 95 if b"~" in p:
95 96 first, last = p.split(b"~", 1)
General Comments 0
You need to be logged in to leave comments. Login now