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

Unified Diff: gcl.py

Issue 8059009: Support for |change| argument to |GetPreferredTrySlaves()|, try 2. (Closed) Base URL: http://src.chromium.org/svn/trunk/tools/depot_tools/
Patch Set: '' Created 9 years, 3 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') | trychange.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcl.py
===================================================================
--- gcl.py (revision 102922)
+++ gcl.py (working copy)
@@ -961,11 +961,21 @@
if change_info.patchset:
trychange_args.extend(["--patchset", str(change_info.patchset)])
file_list = change_info.GetFileNames()
+ change = presubmit_support.SvnChange(change_info.name,
+ change_info.description,
+ change_info.GetLocalRoot(),
+ change_info.GetFiles(),
+ change_info.issue,
+ change_info.patchset,
+ None)
else:
file_list = []
+ change = None
+
trychange_args.extend(args)
return trychange.TryChange(
trychange_args,
+ change=change,
file_list=file_list,
swallow_exception=swallow_exception,
prog='gcl try',
« no previous file with comments | « no previous file | git_cl.py » ('j') | trychange.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698