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

Unified Diff: gcl.py

Issue 6612036: Reland 77470: Don't ignore first argument in TryChange (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: sync Created 9 years, 9 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 | trychange.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 d6e9deb7f4b348a40b7881069616461f28705fd2..8f1bc1d93644278036c055eb838882e10af257b1 100755
--- a/gcl.py
+++ b/gcl.py
@@ -916,11 +916,10 @@ def TryChange(change_info, args, swallow_exception):
trychange_args.extend(["--issue", str(change_info.issue)])
if change_info.patchset:
trychange_args.extend(["--patchset", str(change_info.patchset)])
- trychange_args.extend(args)
file_list = change_info.GetFileNames()
else:
- trychange_args.extend(args)
file_list = []
+ trychange_args.extend(args)
return trychange.TryChange(
trychange_args,
file_list=file_list,
« no previous file with comments | « no previous file | trychange.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698