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
experimental/szager/collated-output
maruel@chromium.org 13 years ago
parent 5536707379
commit 38ab82d6d8

@ -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)

Loading…
Cancel
Save