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