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 "" |