Merge "Clarify zuul-cloner message about missing branch"
This commit is contained in:
commit
9ce0b1d4b3
@ -173,8 +173,9 @@ class Cloner(object):
|
|||||||
self.log.info("upstream repo has branch %s", indicated_branch)
|
self.log.info("upstream repo has branch %s", indicated_branch)
|
||||||
fallback_branch = indicated_branch
|
fallback_branch = indicated_branch
|
||||||
else:
|
else:
|
||||||
self.log.info("upstream repo is missing branch %s",
|
if indicated_branch:
|
||||||
self.branch)
|
self.log.info("upstream repo is missing branch %s",
|
||||||
|
indicated_branch)
|
||||||
# FIXME should be origin HEAD branch which might not be 'master'
|
# FIXME should be origin HEAD branch which might not be 'master'
|
||||||
fallback_branch = 'master'
|
fallback_branch = 'master'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user