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 @@ 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())