diff mercurial/posix.py @ 47622:bb917eea1605

windows: introduce a `util.abspath` to replace os.path.abspath This will let us mitigate the drive letter capitalization hell. See inline comment for details. Differential Revision: https://phab.mercurial-scm.org/D11059
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sat, 10 Jul 2021 13:46:24 +0200
parents 5b3513177f2b
children 6000f5b25c9b
line wrap: on
line diff
--- a/mercurial/posix.py	Sat Jul 10 13:10:18 2021 +0200
+++ b/mercurial/posix.py	Sat Jul 10 13:46:24 2021 +0200
@@ -36,6 +36,8 @@
 
 normpath = os.path.normpath
 samestat = os.path.samestat
+abspath = os.path.abspath  # re-exports
+
 try:
     oslink = os.link
 except AttributeError: