##// END OF EJS Templates
i18n: use util.pconvert() instead of 'str.replace()' for problematic encoding...
FUJIWARA Katsunori -
r16067:467a85ce stable
parent child Browse files
Show More
@@ -197,7 +197,7 b' def issvnurl(ui, url):'
197 proto = 'file'
197 proto = 'file'
198 path = os.path.abspath(url)
198 path = os.path.abspath(url)
199 if proto == 'file':
199 if proto == 'file':
200 path = path.replace(os.sep, '/')
200 path = util.pconvert(path)
201 check = protomap.get(proto, lambda *args: False)
201 check = protomap.get(proto, lambda *args: False)
202 while '/' in path:
202 while '/' in path:
203 if check(ui, path, proto):
203 if check(ui, path, proto):
General Comments 0
You need to be logged in to leave comments. Login now