Skip to content

Commit

Permalink
Also print key in commit message.
Browse files Browse the repository at this point in the history
BUG=
TEST=manual

Change-Id: Ic0335ecae5809e1cf328e130a29d2e42acc463ce
Reviewed-on: https://chromium-review.googlesource.com/798591
Commit-Queue: Marc-Antoine Ruel <maruel@chromium.org>
Reviewed-by: Eric Boren <borenet@chromium.org>
Reviewed-by: Marc-Antoine Ruel <maruel@chromium.org>
  • Loading branch information
achuith authored and Commit Bot committed Dec 1, 2017
1 parent 009150b commit f6b946d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion roll_dep.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,10 @@ def roll(root, deps_dir, roll_to, key, reviewers, bug, no_log, log_limit,
# Keep the first N log entries.
logs = ''.join(logs.splitlines(True)[:log_limit]) + '(...)\n'
log_section += logs
log_section += '\n\nCreated with:\n roll-dep %s\n' % deps_dir
log_section += '\n\nCreated with:\n roll-dep ' + deps_dir
if key:
log_section += ' ' + key
log_section += '\n'

reviewer = 'R=%s\n' % ','.join(reviewers) if reviewers else ''
bug = 'BUG=%s\n' % bug if bug else ''
Expand Down

0 comments on commit f6b946d

Please sign in to comment.