diff options
author | Nicolas Cornu <nicolac76@yahoo.fr> | 2017-07-10 10:31:24 +0200 |
---|---|---|
committer | Nicolas Cornu <nicolac76@yahoo.fr> | 2017-07-10 13:20:01 +0000 |
commit | b54343d9fd682bcdb1510042d93fdf38979b9eb7 (patch) | |
tree | be75474d1f7346d38b2e0da426d4a7a467ca7c16 /subcmds/upload.py | |
parent | 259f16520acafbe85ee68deb43fa74ae56e1c617 (diff) | |
download | git-repo-b54343d9fd682bcdb1510042d93fdf38979b9eb7.tar.gz |
Tell the user if it will upload a draft
Change-Id: Ie004ec9d61603f3f618c47597947b82c59f2839c
Diffstat (limited to 'subcmds/upload.py')
-rw-r--r-- | subcmds/upload.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/subcmds/upload.py b/subcmds/upload.py index 1172dadc..38c061df 100644 --- a/subcmds/upload.py +++ b/subcmds/upload.py | |||
@@ -198,7 +198,8 @@ Gerrit Code Review: http://code.google.com/p/gerrit/ | |||
198 | commit_list = branch.commits | 198 | commit_list = branch.commits |
199 | 199 | ||
200 | destination = opt.dest_branch or project.dest_branch or project.revisionExpr | 200 | destination = opt.dest_branch or project.dest_branch or project.revisionExpr |
201 | print('Upload project %s/ to remote branch %s:' % (project.relpath, destination)) | 201 | print('Upload project %s/ to remote branch %s%s:' % |
202 | (project.relpath, destination, ' (draft)' if opt.draft else '')) | ||
202 | print(' branch %s (%2d commit%s, %s):' % ( | 203 | print(' branch %s (%2d commit%s, %s):' % ( |
203 | name, | 204 | name, |
204 | len(commit_list), | 205 | len(commit_list), |