mirror of
https://github.com/openharmony/third_party_cryptsetup.git
synced 2026-07-19 19:53:45 -04:00
fix(push): check CurrentBranch
This commit is contained in:
+4
-3
@@ -345,9 +345,10 @@ Gerrit Code Review: http://code.google.com/p/gerrit/
|
||||
if (not opt.new_branch and
|
||||
project.GetUploadableBranch(project.CurrentBranch) is None):
|
||||
continue
|
||||
branch = project.GetBranch(project.CurrentBranch)
|
||||
rb = ReviewableBranch(project, branch, branch.LocalMerge)
|
||||
pending.append((project, [rb]))
|
||||
if project.CurrentBranch:
|
||||
branch = project.GetBranch(project.CurrentBranch)
|
||||
rb = ReviewableBranch(project, branch, branch.LocalMerge)
|
||||
pending.append((project, [rb]))
|
||||
|
||||
if opt.reviewers:
|
||||
reviewers = _SplitUsers(opt.reviewers)
|
||||
|
||||
Reference in New Issue
Block a user