Commits

Anonymous committed 364c57c

Force defaultBranch if repoURL is set.

Comments (0)

Files changed (1)

master/buildbot/steps/source/bzr.py

             raise ValueError("you must privide at least one of repourl and"
                              " baseURL")
 
+        if baseURL is not None and defaultBranch is None:
+            raise ValueError("you must provide defaultBranch with baseURL")
+
         assert self.mode in ['incremental', 'full']
 
         if self.mode == 'full':