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

Unified Diff: build/util/lastchange.py

Issue 499063002: Temporarily make lastchange use only the git hash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Also touch chrome_browser_main to try to force compile/tests Created 6 years, 4 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 | build/whitespace_file.txt » ('j') | chrome/browser/chrome_browser_main.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/util/lastchange.py
diff --git a/build/util/lastchange.py b/build/util/lastchange.py
index 28a266ddaf7ad977d37f4499076b0aa84eca19c5..87094e9592c93b13c79efb6eb751ef76e8645138 100755
--- a/build/util/lastchange.py
+++ b/build/util/lastchange.py
@@ -107,6 +107,10 @@ def FetchGitRevision(directory):
hsh = output
if not hsh:
return None
+ return VersionInfo('git', hsh)
+ # TODO(agable): Re-enable this code after the lastchange value can accept
+ # strings longer than 64 characters. See crbug.com/406783.
+ # The following code is unreachable.
Ryan Tseng 2014/08/23 18:39:32 We can just delete this? Or pylint will explode (o
agable 2014/08/23 18:42:36 Yeah I suppose I can delete the code and just rela
pos = ''
proc = RunGitCommand(directory, ['show', '-s', '--format=%B', 'HEAD'])
if proc:
« no previous file with comments | « no previous file | build/whitespace_file.txt » ('j') | chrome/browser/chrome_browser_main.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698