Show More
@@ -84,7 +84,7 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 |
|
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