mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
Tell the user if it will upload a draft
Change-Id: Ie004ec9d61603f3f618c47597947b82c59f2839c
This commit is contained in:
parent
259f16520a
commit
b54343d9fd
@ -198,7 +198,8 @@ Gerrit Code Review: http://code.google.com/p/gerrit/
|
|||||||
commit_list = branch.commits
|
commit_list = branch.commits
|
||||||
|
|
||||||
destination = opt.dest_branch or 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('Upload project %s/ to remote branch %s%s:' %
|
||||||
|
(project.relpath, destination, ' (draft)' if opt.draft else ''))
|
||||||
print(' branch %s (%2d commit%s, %s):' % (
|
print(' branch %s (%2d commit%s, %s):' % (
|
||||||
name,
|
name,
|
||||||
len(commit_list),
|
len(commit_list),
|
||||||
|
Loading…
Reference in New Issue
Block a user