##// END OF EJS Templates
windows: use abspath in convert.git...
marmoute -
r48433:770fd64a default
parent child Browse files
Show More
@@ -14,6 +14,7 b' from mercurial import ('
14 14 config,
15 15 error,
16 16 pycompat,
17 util,
17 18 )
18 19
19 20 from . import common
@@ -74,7 +75,7 b' class convert_git(common.converter_sourc'
74 75
75 76 # Pass an absolute path to git to prevent from ever being interpreted
76 77 # as a URL
77 path = os.path.abspath(path)
78 path = util.abspath(path)
78 79
79 80 if os.path.isdir(path + b"/.git"):
80 81 path += b"/.git"
General Comments 0
You need to be logged in to leave comments. Login now