log successful completion
[mass-build.git] / vcs.py
diff --git a/vcs.py b/vcs.py
index 785a9ba35c4a1e10e649db55c4eaaf84d0032df6..0dc9685a265172dafbd73b6dffedf0c5e1a0294d 100644 (file)
--- a/vcs.py
+++ b/vcs.py
@@ -71,4 +71,5 @@ class SVN:
                        if forceVersion: subprocess.check_call(['svn', 'revert', '-R', '.'])
                        subprocess.check_call(['svn', 'switch', self.url]) # and update to the URL we got
                else:
                        if forceVersion: subprocess.check_call(['svn', 'revert', '-R', '.'])
                        subprocess.check_call(['svn', 'switch', self.url]) # and update to the URL we got
                else:
+                       os.makedirs(self.folder) # if even the parent folder does not exist, svn fails
                        subprocess.check_call(['svn', 'co', self.url, self.folder]) # just download it
                        subprocess.check_call(['svn', 'co', self.url, self.folder]) # just download it