Skip to content

Commit

Permalink
Support WithProperties in branch option of various source steps.
Browse files Browse the repository at this point in the history
Fixes #752

Signed-off-by: Tom Prince <tom.prince@ualberta.net>
  • Loading branch information
tomprince committed Apr 12, 2011
1 parent d54ff48 commit c36d50e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion master/buildbot/steps/source.py
Expand Up @@ -227,7 +227,7 @@ def start(self):
# what source stamp would this build like to use?
s = self.build.getSourceStamp()
# if branch is None, then use the Step's "default" branch
branch = s.branch or self.branch
branch = s.branch or properties.render(self.branch)
# if revision is None, use the latest sources (-rHEAD)
revision = s.revision
if not revision and not self.alwaysUseLatest:
Expand Down

0 comments on commit c36d50e

Please sign in to comment.