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: |