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

Unified Diff: tools/roll_angle.py

Issue 2431383003: Don't let roll scripts use short hashes (Closed)
Patch Set: Created 4 years, 2 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 | tools/roll_webgl_conformance.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/roll_angle.py
diff --git a/tools/roll_angle.py b/tools/roll_angle.py
index 55e258098ed05361d40bb1d0318076731dbc12b9..d419ca0a5e14ef191c6fabc82ba6b824a0a0f087 100755
--- a/tools/roll_angle.py
+++ b/tools/roll_angle.py
@@ -176,7 +176,8 @@ class AutoRoller(object):
self._RunCommand(['git', 'fetch', 'origin'], working_dir=working_dir)
revision_range = git_hash or 'origin'
ret = self._RunCommand(
- ['git', '--no-pager', 'log', revision_range, '--pretty=full', '-1'],
+ ['git', '--no-pager', 'log', revision_range,
+ '--no-abbrev-commit', '--pretty=full', '-1'],
working_dir=working_dir)
return CommitInfo(_ParseGitCommitHash(ret), git_repo_url)
« no previous file with comments | « no previous file | tools/roll_webgl_conformance.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698