# HG changeset patch # User Pierre-Yves David # Date 1625918799 -7200 # Node ID 5cf2059d2647fafdd8b2665631132702fba251a7 # Parent a125cbbc578265b3364714c91c603a16e28768e0 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 diff -r a125cbbc5782 -r 5cf2059d2647 mercurial/subrepoutil.py --- 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: