Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Unified Diff: tools/autoroller/roll_chromium_revision.py

Issue 1841563004: autoroller: Use 10 characters for shortened Git hashes. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Bumping to 10 chars Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/autoroller/roll_chromium_revision.py
diff --git a/tools/autoroller/roll_chromium_revision.py b/tools/autoroller/roll_chromium_revision.py
index 9aac93fdc2e1d08c9f1ea899ec2944732eaf79ca..c5f830a25495bc608b83cd6cb1186da0db97c06e 100755
--- a/tools/autoroller/roll_chromium_revision.py
+++ b/tools/autoroller/roll_chromium_revision.py
@@ -253,8 +253,8 @@ def CalculateChangedClang(new_cr_rev):
def GenerateCommitMessage(current_cr_rev, new_cr_rev, current_commit_pos,
new_commit_pos, changed_deps_list, clang_change):
- current_cr_rev = current_cr_rev[0:7]
- new_cr_rev = new_cr_rev[0:7]
+ current_cr_rev = current_cr_rev[0:10]
+ new_cr_rev = new_cr_rev[0:10]
rev_interval = '%s..%s' % (current_cr_rev, new_cr_rev)
git_number_interval = '%s:%s' % (current_commit_pos, new_commit_pos)
@@ -271,8 +271,8 @@ def GenerateCommitMessage(current_cr_rev, new_cr_rev, current_commit_pos,
for c in changed_deps_list:
commit_msg.append('* %s: %s/+log/%s..%s' % (c.path, c.url,
- c.current_rev[0:7],
- c.new_rev[0:7]))
+ c.current_rev[0:10],
+ c.new_rev[0:10]))
if 'libvpx' in c.path:
tbr_authors += 'marpan@webrtc.org, stefan@webrtc.org, '
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698