mirror of
https://gerrit.googlesource.com/git-repo
synced 2025-01-02 16:14:25 +00:00
upload: fix display of destination branch for SingleBranch
The command `repo upload --cbr -D <some branch>` will display the default revision, and not the actual destination branch. Fix that and display the branch to which the change will be uploaded to. Change-Id: I712ed0871c819dce6774c47254dac4efec4532e0
This commit is contained in:
parent
033a7e91de
commit
610d3c4e46
@ -189,7 +189,7 @@ Gerrit Code Review: http://code.google.com/p/gerrit/
|
||||
date = branch.date
|
||||
commit_list = branch.commits
|
||||
|
||||
destination = project.dest_branch or project.revisionExpr
|
||||
destination = opt.dest_branch or project.dest_branch or project.revisionExpr
|
||||
print('Upload project %s/ to remote branch %s:' % (project.relpath, destination))
|
||||
print(' branch %s (%2d commit%s, %s):' % (
|
||||
name,
|
||||
|
Loading…
Reference in New Issue
Block a user