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

Unified Diff: gcl.py

Issue 298703003: Upload project option (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 6 years, 7 months 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 | git_cl.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcl.py
diff --git a/gcl.py b/gcl.py
index cf48e782ee616b8b47d04ceb84f3f26b1f8c1505..775ab94dd6ce9d346749bfa987c3a00be6b99b83 100755
--- a/gcl.py
+++ b/gcl.py
@@ -911,6 +911,10 @@ def CMDupload(change_info, args):
if GetCodeReviewSetting("PRIVATE") == "True":
upload_arg.append("--private")
+ project = GetCodeReviewSetting("PROJECT")
+ if project:
+ upload_arg.append("--project=%s" % project)
+
# If we have a lot of files with long paths, then we won't be able to fit
# the command to "svn diff". Instead, we generate the diff manually for
# each file and concatenate them before passing it to upload.py.
« no previous file with comments | « no previous file | git_cl.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698