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

Unified Diff: third_party/upload.py

Issue 781523002: depot_tools: Send the remote tracked ref to Rietveld via upload.py (Closed) Base URL: http://src.chromium.org/svn/trunk/tools/depot_tools/
Patch Set: remote_ref -> target_ref 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
« git_cl.py ('K') | « git_cl.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/upload.py
===================================================================
--- third_party/upload.py (revision 293289)
+++ third_party/upload.py (working copy)
@@ -650,6 +650,10 @@
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",
agable 2014/12/09 20:42:56 Make sure that this change gets landed in Rietveld
rmistry 2014/12/09 20:54:43 I am glad you brought this up. Could you explain h
agable 2014/12/09 23:36:33 It is a copy of the one in chromium_rietveld. The
+ 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 @@
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 ""
« git_cl.py ('K') | « git_cl.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698