Fix a bug in repo upload --cbr

repo upload --cbr bailed out if some branches did not have
modifications when it is used.

Change-Id: I35f264ff7d77bb4bf8f26b4c3faffa184920b6c5
This commit is contained in:
Bryan Jacobs 2013-05-31 15:28:05 -04:00
parent a1f77d92c6
commit 710d4b0391

View File

@ -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