Git doesn't create the destination directory structure for you in
[matrix.git] / matrix / repositories.py
index 007c1ad..c2fa48d 100644 (file)
@@ -97,6 +97,7 @@ class Repository(object):
                if os.path.exists(self.path):
                        self.__clone_in_place(url)
                else:
+                       os.makedirs(os.path.split(self.path)[0])
                        git.clone(self.path, url, checkout=False)
 
                if self.exclude: