Mercurial > hg-stable
changeset 47628:a125cbbc5782
windows: use abspath in subrepo
We replace `os.path.abspath` with `util.abspath`. This should solve more "drive
capitalization" issue on Windows.
Differential Revision: https://phab.mercurial-scm.org/D11065
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sat, 10 Jul 2021 14:06:29 +0200 |
parents | aceede7c4929 |
children | 5cf2059d2647 |
files | mercurial/subrepo.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/subrepo.py Sat Jul 10 14:06:19 2021 +0200 +++ b/mercurial/subrepo.py Sat Jul 10 14:06:29 2021 +0200 @@ -60,7 +60,7 @@ expandedpath = urlutil.urllocalpath(util.expandpath(path)) u = urlutil.url(expandedpath) if not u.scheme: - path = util.normpath(os.path.abspath(u.path)) + path = util.normpath(util.abspath(u.path)) return path