Mercurial > hg
changeset 47632:3b2d080f11b5
windows: use abspath in convert.bzr
We replace `os.path.abspath` with `util.abspath`. This should solve more "drive
capitalization" issue on Windows.
Differential Revision: https://phab.mercurial-scm.org/D11069
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sat, 10 Jul 2021 14:07:14 +0200 |
parents | 16bae8abcc03 |
children | 770fd64a63e0 |
files | hgext/convert/bzr.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/convert/bzr.py Sat Jul 10 14:07:02 2021 +0200 +++ b/hgext/convert/bzr.py Sat Jul 10 14:07:14 2021 +0200 @@ -17,6 +17,7 @@ demandimport, error, pycompat, + util, ) from . import common @@ -65,7 +66,7 @@ except NameError: raise common.NoRepo(_(b'Bazaar modules could not be loaded')) - path = os.path.abspath(path) + path = util.abspath(path) self._checkrepotype(path) try: bzr_dir = bzrdir.BzrDir.open(path.decode())