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

Unified Diff: appengine/chromium_rietveld/upload.py

Issue 746343004: Send the remote tracked ref to Rietveld via upload.py (Closed) Base URL: https://chromium.googlesource.com/infra/infra@master
Patch Set: Created 6 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: appengine/chromium_rietveld/upload.py
diff --git a/appengine/chromium_rietveld/upload.py b/appengine/chromium_rietveld/upload.py
index ab86e47776ff26f468b1df47a3ff3cb79a3ef24e..54c9f0f4b761bb610c3f7cf57cd7b130c3016e3d 100755
--- a/appengine/chromium_rietveld/upload.py
+++ b/appengine/chromium_rietveld/upload.py
@@ -650,6 +650,10 @@ group.add_option("--base_url", action="store", dest="base_url", default=None,
help="Base URL path for files (listed as \"Base URL\" when "
"viewing issue). If omitted, will be guessed automatically "
"for SVN repos and left blank for others.")
+group.add_option("--target_ref", action="store", dest="target_ref",
+ default=None,
+ help="The target ref that is transitively tracked by the "
+ "local branch this patch comes from.")
group.add_option("--download_base", action="store_true",
dest="download_base", default=False,
help="Base files will be downloaded by the server "
@@ -2605,6 +2609,8 @@ def RealMain(argv, data=None):
form_fields.append(("cc", options.cc))
if options.project:
form_fields.append(("project", options.project))
+ if options.target_ref:
+ form_fields.append(("target_ref", options.target_ref))
# Process --message, --title and --file.
message = options.message or ""
« 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