Commit 38ab82d6 authored by maruel@chromium.org's avatar maruel@chromium.org

Add outputs to apply_issue.py

apply_issue.py didn't have output, making it a bit boring. Now it's super cute.

R=rogerta@chromium.org
BUG=


Review URL: https://chromiumcodereview.appspot.com/10889037

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@153948 0039d316-1c4b-4281-b951-d872f2087c98
parent 55367073
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment