changeset 47630 | 8e5192e41e0b |
parent 46907 | ffd3e823a7e5 |
child 48875 | 6000f5b25c9b |
child 49277 | 51b07ac1991c |
--- a/mercurial/url.py Sat Jul 10 14:06:39 2021 +0200 +++ b/mercurial/url.py Sat Jul 10 14:06:46 2021 +0200 @@ -10,7 +10,6 @@ from __future__ import absolute_import import base64 -import os import socket import sys @@ -685,7 +684,7 @@ u.scheme = u.scheme.lower() url_, authinfo = u.authinfo() else: - path = util.normpath(os.path.abspath(url_)) + path = util.normpath(util.abspath(url_)) url_ = b'file://' + pycompat.bytesurl( urlreq.pathname2url(pycompat.fsdecode(path)) )