Mercurial > public > mercurial-scm > hg-stable
diff mercurial/url.py @ 47759:d7515d29761d stable 5.9rc0
branching: merge default into stable
This mark the start of the 5.9 freeze.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 21 Jul 2021 22:52:09 +0200 |
parents | 8e5192e41e0b |
children | 51b07ac1991c 6000f5b25c9b |
line wrap: on
line diff
--- a/mercurial/url.py Fri Jul 09 00:25:14 2021 +0530 +++ b/mercurial/url.py Wed Jul 21 22:52:09 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)) )