Chromium Code Reviews| Index: build/util/lastchange.py |
| diff --git a/build/util/lastchange.py b/build/util/lastchange.py |
| index 8d758d2a24fdfa6daefada92491d739e055e5b7e..f910e9cdae727c79b82e6ede588ab7ab54c289d0 100755 |
| --- a/build/util/lastchange.py |
| +++ b/build/util/lastchange.py |
| @@ -103,7 +103,7 @@ def FetchGitRevision(directory): |
| if proc: |
| output = proc.communicate()[0].strip() |
| if proc.returncode == 0 and output: |
| - return VersionInfo('git', output[:7]) |
| + return VersionInfo('git', output) |
|
iannucci
2014/08/19 18:49:46
should we include the commit position here, if it'
agable
2014/08/19 22:00:30
The output cannot be multiline. It's unclear to me
|
| return None |
| @@ -116,8 +116,7 @@ def FetchGitSVNURLAndRevision(directory, svn_url_regex): |
| Returns: |
| A tuple containing the Subversion URL and revision. |
| """ |
| - proc = RunGitCommand(directory, ['log', '-1', |
| - '--grep=git-svn-id', '--format=%b']) |
| + proc = RunGitCommand(directory, ['log', '-1', '--format=%b']) |
| if proc: |
| output = proc.communicate()[0].strip() |
| if proc.returncode == 0 and output: |