Make overriding the version name independant of VCS; submodule support for git
[mass-build.git] / mass_build.py
index 6bbba4c23d8429e9b48c618ac6c94fbc73246cd1..385749f0df073afd01c3df7e5585fa8660f2e3a3 100755 (executable)
@@ -13,7 +13,7 @@ class Project:
                if vcsName == 'git':
                        self.vcs = vcs.Git(self.sourceFolder(), config['url'], config['version'])
                elif vcsName == 'svn':
-                       self.vcs = vcs.SVN(self.sourceFolder(), config['url'], config.get('versionName'))
+                       self.vcs = vcs.SVN(self.sourceFolder(), config['url'])
                else:
                        raise Exception("Unknown VCS type "+vcsName)
                # build system
@@ -107,7 +107,7 @@ if args.projects:
                elif name in allFolders:
                        workProjects += allFolders[name]
                else:
-                       raise Exception("Project or folder%s does not exist" % name)
+                       raise Exception("Project or folder %s does not exist" % name)
 elif args.resume_from is None:
        workProjects = projects.values() # all the projects
 else: