##// END OF EJS Templates
pathauditor: drop a redundant call to bytes.lower()...
Martin von Zweigbergk -
r44641:d8442023 default
parent child Browse files
Show More
@@ -84,7 +84,7 b' class pathauditor(object):'
84 _(b"path contains illegal component: %s") % path
84 _(b"path contains illegal component: %s") % path
85 )
85 )
86 if b'.hg' in _lowerclean(path):
86 if b'.hg' in _lowerclean(path):
87 lparts = [_lowerclean(p.lower()) for p in parts]
87 lparts = [_lowerclean(p) for p in parts]
88 for p in b'.hg', b'.hg.':
88 for p in b'.hg', b'.hg.':
89 if p in lparts[1:]:
89 if p in lparts[1:]:
90 pos = lparts.index(p)
90 pos = lparts.index(p)
General Comments 0
You need to be logged in to leave comments. Login now