Commit 22e7a27c authored by Marc-Antoine Ruel's avatar Marc-Antoine Ruel Committed by Commit Bot

roll-dep: Add command used to make the roll in the CL description.

That's marketing 101. :)

R=sergeyberezin@chromium.org
BUG=

Change-Id: Ibbc1cd18650b7b601c27662fcb40ea7b15b40fc7
Reviewed-on: https://chromium-review.googlesource.com/439006Reviewed-by: 's avatarSergey Berezin <sergeyberezin@chromium.org>
Commit-Queue: Sergey Berezin <sergeyberezin@chromium.org>
parent 0551f867
...@@ -144,7 +144,7 @@ def roll(root, deps_dir, roll_to, key, reviewers, bug, no_log, log_limit, ...@@ -144,7 +144,7 @@ def roll(root, deps_dir, roll_to, key, reviewers, bug, no_log, log_limit,
# Keep the first N log entries. # Keep the first N log entries.
logs = ''.join(logs.splitlines(True)[:log_limit]) + '(...)\n' logs = ''.join(logs.splitlines(True)[:log_limit]) + '(...)\n'
log_section += logs log_section += logs
log_section += '\n' log_section += '\n\nCreated with:\n roll-dep %s\n' % deps_dir
reviewer = 'R=%s\n' % ','.join(reviewers) if reviewers else '' reviewer = 'R=%s\n' % ','.join(reviewers) if reviewers else ''
bug = 'BUG=%s\n' % bug if bug else '' bug = 'BUG=%s\n' % bug if bug else ''
......
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