# HG changeset patch # User Pierre-Yves David # Date 2021-07-10 12:07:14 # Node ID 3b2d080f11b55491c4add050d0b0ffa5d9fa96a8 # Parent 16bae8abcc03e590bebc28a248b0da21c7be38d2 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 diff --git a/hgext/convert/bzr.py b/hgext/convert/bzr.py --- a/hgext/convert/bzr.py +++ b/hgext/convert/bzr.py @@ -17,6 +17,7 @@ from mercurial import ( demandimport, error, pycompat, + util, ) from . import common @@ -65,7 +66,7 @@ class bzr_source(common.converter_source 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())