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

Unified Diff: apply_issue.py

Issue 10889037: Add outputs to apply_issue.py (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 8 years, 4 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: apply_issue.py
diff --git a/apply_issue.py b/apply_issue.py
index 655ecb6eeb47d411e8155ce108c8b70c404cad3f..11ee9932e626219e357ebf0b7f8621f6955a7672 100755
--- a/apply_issue.py
+++ b/apply_issue.py
@@ -61,11 +61,12 @@ def main():
if not options.patchset:
options.patchset = obj.get_issue_properties(
options.issue, False)['patchsets'][-1]
- logging.info('Using patchset %d' % options.patchset)
- # Download the patch.
+ print('No patchset specified. Using patchset %d' % options.patchset)
+
+ print('Downloading the patch.')
patchset = obj.get_patch(options.issue, options.patchset)
for patch in patchset.patches:
- logging.info(patch)
+ print(patch)
scm_type = scm.determine_scm(options.root_dir)
if scm_type == 'svn':
scm_obj = checkout.SvnCheckout(options.root_dir, None, None, None, None)
« 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