summaryrefslogtreecommitdiffstats
path: root/src/lib/Client
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Client')
-rw-r--r--src/lib/Client/Tools/VCS.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Client/Tools/VCS.py b/src/lib/Client/Tools/VCS.py
index e6081dc1c..330524f2f 100644
--- a/src/lib/Client/Tools/VCS.py
+++ b/src/lib/Client/Tools/VCS.py
@@ -75,6 +75,7 @@ class VCS(Bcfg2.Client.Tools.Tool):
destname)
return False
+ dulwich.file.ensure_dir_exists(destname)
destr = dulwich.repo.Repo.init(destname, mkdir=True)
cl, host_path = dulwich.client.get_transport_and_path(entry.get('sourceurl'))
remote_refs = cl.fetch(host_path,