Jeff Licquia  committed 364c57c

Force defaultBranch if repoURL is set.

  • Participants
  • Parent commits 3e664e5

Comments (0)

Files changed (1)

File master/buildbot/steps/source/

             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':