mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 18:51:29 +00:00
Also print key in commit message.
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>
This commit is contained in:
committed by
Commit Bot
parent
009150b7af
commit
f6b946d71d
@@ -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 ''
|
||||
|
||||
Reference in New Issue
Block a user