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

Unified Diff: trychange.py

Issue 669243: Fix --webkit trychange.py option. (Closed)
Patch Set: Created 10 years, 10 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trychange.py
diff --git a/trychange.py b/trychange.py
index 2f3432641887b4d35e6443dc076a38a76cc610bf..96f72b8689c7418e4a0268c7b9a94a74b5f54de2 100755
--- a/trychange.py
+++ b/trychange.py
@@ -513,6 +513,8 @@ def TryChange(argv,
# Mostly chromium-specific
try:
def WebKitRevision(options, opt, value, parser):
+ if not hasattr(options, 'sub_rep'):
+ options.sub_rep = []
if parser.rargs and not parser.rargs[0].startswith('-'):
options.sub_rep.append('third_party/WebKit@%s' % parser.rargs.pop(0))
else:
« 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