# HG changeset patch # User Patrick Mezard # Date 1240769980 -7200 # Node ID a2af1d92b913f878cc8ec57197e40145ef85843a # Parent ac9c4049fd2956c1e4706bd7aec5261ba4c70a38 convert/svn: fix pathname parsing from URL under Windows diff -r ac9c4049fd29 -r a2af1d92b913 hgext/convert/subversion.py --- a/hgext/convert/subversion.py Sun Apr 26 19:39:15 2009 +0200 +++ b/hgext/convert/subversion.py Sun Apr 26 20:19:40 2009 +0200 @@ -159,6 +159,7 @@ if not '://' in url: return False proto, path = url.split('://', 1) + path = urllib.url2pathname(path).replace(os.sep, '/') check = protomap.get(proto, lambda p, p2: False) while '/' in path: if check(path, proto):