##// END OF EJS Templates
convert: accept Subversion 'file:///c%3A/svnrepo' syntax on Windows...
Mads Kiilerich -
r17052:1bd18c41 default
parent child Browse files
Show More
@@ -189,6 +189,9 b' def issvnurl(ui, url):'
189 try:
189 try:
190 proto, path = url.split('://', 1)
190 proto, path = url.split('://', 1)
191 if proto == 'file':
191 if proto == 'file':
192 if (os.name == 'nt' and path[:1] == '/' and path[1:2].isalpha()
193 and path[2:6].lower() == '%3a/'):
194 path = path[:2] + ':/' + path[6:]
192 path = urllib.url2pathname(path)
195 path = urllib.url2pathname(path)
193 except ValueError:
196 except ValueError:
194 proto = 'file'
197 proto = 'file'
General Comments 0
You need to be logged in to leave comments. Login now