Skip to content

Commit 0faf18f

Browse files
committed
fix(create_repo): Correctly pass progress_callback
1 parent 3d882af commit 0faf18f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libvcs/shortcuts.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ def create_repo(
4444
Already up-to-date.
4545
"""
4646
if vcs == "git":
47-
return GitRepo(url, **kwargs)
47+
return GitRepo(url, progress_callback=progress_callback, **kwargs)
4848
elif vcs == "hg":
49-
return MercurialRepo(url, **kwargs)
49+
return MercurialRepo(url, progress_callback=progress_callback, **kwargs)
5050
elif vcs == "svn":
51-
return SubversionRepo(url, **kwargs)
51+
return SubversionRepo(url, progress_callback=progress_callback, **kwargs)
5252
else:
5353
raise InvalidVCS("VCS %s is not a valid VCS" % vcs)
5454

0 commit comments

Comments
 (0)