changeset 47622 | bb917eea1605 |
parent 47446 | 09ff5d532a25 |
child 48010 | ae79611e3115 |
--- a/mercurial/util.py Sat Jul 10 13:10:18 2021 +0200 +++ b/mercurial/util.py Sat Jul 10 13:46:24 2021 +0200 @@ -99,6 +99,7 @@ _ = i18n._ +abspath = platform.abspath bindunixsocket = platform.bindunixsocket cachestat = platform.cachestat checkexec = platform.checkexec @@ -2632,7 +2633,7 @@ return if err.errno != errno.ENOENT or not name: raise - parent = os.path.dirname(os.path.abspath(name)) + parent = os.path.dirname(abspath(name)) if parent == name: raise makedirs(parent, mode, notindexed)