Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Unified Diff: git_cl.py

Issue 122583003: Added --email to git_cl.py (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git_cl.py
diff --git a/git_cl.py b/git_cl.py
index a360cff377712e6b7f883d8f2ec450113202df9d..cad457fa50dcc00aac4f885bde7955919c67078e 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -1421,6 +1421,9 @@ def RietveldUpload(options, args, cl):
change_desc = None
+ if options.email is not None:
+ upload_args.extend(['--email', options.email])
+
if cl.GetIssue():
if options.title:
upload_args.extend(['--title', options.title])
@@ -1560,6 +1563,9 @@ def CMDupload(parser, args):
parser.add_option('--target_branch',
help='When uploading to gerrit, remote branch to '
'use for CL. Default: master')
+ parser.add_option('--email', default=None,
iannucci 2014/01/09 22:46:42 Hm... what about 'username'? Since git_cl already
pgervais 2014/01/09 22:50:55 Exactly :-) It's not too late, I can change the n
+ help='email address to use to connect to Rietveld')
+
add_git_similarity(parser)
(options, args) = parser.parse_args(args)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698