Skip to content

Commit 9497a52

Browse files
committed
fix(hg): Fix mercurial cloning
1 parent 05468cf commit 9497a52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libvcs/projects/hg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def obtain(self, *args, **kwargs):
2525

2626
# Double hyphens between [OPTION]... -- SOURCE [DEST] prevent command injections
2727
# via aliases
28-
self.run(["clone", "--noupdate", "-q", "--", self.url, self.dir])
28+
self.run(["clone", "--noupdate", "-q", "--", self.url, str(self.dir)])
2929
self.run(["update", "-q"])
3030

3131
def get_revision(self):

0 commit comments

Comments
 (0)