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

Unified Diff: trychange.py

Issue 536002: Add --webkit option as a shorthand for -s third_party/WebKit. (Closed)
Patch Set: Created 10 years, 11 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 | « git-try ('k') | 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 aa4cdad32d1a8fdc212ad3f0327b0d3a94558aeb..29310b5c25ee11294f560fd2f78ebb5b0acc144a 100755
--- a/trychange.py
+++ b/trychange.py
@@ -263,7 +263,7 @@ def _SendChangeHTTP(options):
else:
proxies = {'http': options.proxy, 'https': options.proxy}
- logging.warning('Sending by HTTP')
+ logging.info('Sending by HTTP')
logging.info(description)
logging.info(url)
logging.info(options.diff)
@@ -296,7 +296,7 @@ def _SendChangeSVN(options):
values = _ParseSendChangeOptions(options)
description = ''.join("%s=%s\n" % (k,v) for (k,v) in values.iteritems())
- logging.warning('Sending by SVN')
+ logging.info('Sending by SVN')
logging.info(description)
logging.info(options.svn_repo)
logging.info(options.diff)
@@ -474,6 +474,11 @@ def TryChange(argv,
"useful for gclient-style checkouts. Use @rev or "
"@branch or @branch1..branch2 to specify the "
"revision/branch to diff against.")
+ # Mostly chromium-specific
+ group.add_option("--webkit", action="append_const",
+ const="third_party/WebKit",
+ dest="sub_rep",
+ help="Shorthand for -s third_party/WebKit")
group.add_option("--no_gclient", action="store_true",
help="Disable automatic search for gclient checkout.")
parser.add_option_group(group)
@@ -518,6 +523,8 @@ def TryChange(argv,
elif options.verbose > 2:
logging.basicConfig(level=logging.DEBUG)
+ logging.debug(argv)
+
try:
# Always include os.getcwd() in the checkout settings.
checkouts = []
« no previous file with comments | « git-try ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698