changeset 17052 | 1bd18c415eec |
parent 17031 | f17b561cc473 |
child 17053 | 0e4171fdb9d4 |
--- a/hgext/convert/subversion.py Mon Jun 25 19:26:29 2012 +0200 +++ b/hgext/convert/subversion.py Thu Jun 28 03:41:37 2012 +0200 @@ -189,6 +189,9 @@ try: proto, path = url.split('://', 1) if proto == 'file': + if (os.name == 'nt' and path[:1] == '/' and path[1:2].isalpha() + and path[2:6].lower() == '%3a/'): + path = path[:2] + ':/' + path[6:] path = urllib.url2pathname(path) except ValueError: proto = 'file'