Skip to content
Snippets Groups Projects
Commit 3b2d080f authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

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
parent 16bae8ab
No related branches found
No related tags found
No related merge requests found
......@@ -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())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment