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
--- 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: