repo upload --cbr bailed out if some branches did not have modifications when it is used. Change-Id: I35f264ff7d77bb4bf8f26b4c3faffa184920b6c5
@@ -224,6 +224,8 @@ Gerrit Code Review: http://code.google.com/p/gerrit/
b = {}
for branch in avail:
+ if branch is None:
+ continue
name = branch.name
date = branch.date
commit_list = branch.commits