changeset 47629:5cf2059d2647

windows: use abspath in subrepoutil We replace `os.path.abspath` with `util.abspath`. This should solve more "drive capitalization" issue on Windows. Differential Revision: https://phab.mercurial-scm.org/D11066
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sat, 10 Jul 2021 14:06:39 +0200
parents a125cbbc5782
children 8e5192e41e0b
files mercurial/subrepoutil.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/subrepoutil.py	Sat Jul 10 14:06:29 2021 +0200
+++ b/mercurial/subrepoutil.py	Sat Jul 10 14:06:39 2021 +0200
@@ -458,7 +458,7 @@
             #   C:\some\path\relative
             if urlutil.hasdriveletter(path):
                 if len(path) == 2 or path[2:3] not in br'\/':
-                    path = os.path.abspath(path)
+                    path = util.abspath(path)
             return path
 
     if abort: