diff -r 7698c275aa56 -r de9eb6b1da4f mercurial/util.py --- a/mercurial/util.py Fri Jul 01 18:13:48 2011 +0200 +++ b/mercurial/util.py Fri Jul 01 17:37:09 2011 +0200 @@ -1589,7 +1589,7 @@ def hasdriveletter(path): return path[1:2] == ':' and path[0:1].isalpha() -def localpath(path): +def urllocalpath(path): return url(path, parsequery=False, parsefragment=False).localpath() def hidepassword(u):