equal
deleted
inserted
replaced
187 } |
187 } |
188 def issvnurl(ui, url): |
188 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' |
195 path = os.path.abspath(url) |
198 path = os.path.abspath(url) |
196 if proto == 'file': |
199 if proto == 'file': |