X-Git-Url: https://git.ralfj.de/mass-build.git/blobdiff_plain/02d6ae3b48b56e1b830239099fa485669fae52e5..e477d3a808951963a80c6e5918eb075a8c5e086c:/vcs.py diff --git a/vcs.py b/vcs.py index 785a9ba..0dc9685 100644 --- 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: + 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