Index: build/util/lastchange.py |
diff --git a/build/util/lastchange.py b/build/util/lastchange.py |
index 15c0a1fb4fe3665e5b665cd288f459845647bf88..3718c54bda862fac41a0d1a530b9e11b373d5684 100755 |
--- a/build/util/lastchange.py |
+++ b/build/util/lastchange.py |
@@ -63,7 +63,9 @@ def FetchSVNRevision(command, directory): |
attrs = {} |
for line in proc.stdout: |
line = line.strip() |
- if not line: |
+ # git-svn can print out extra "Rebuilding ..." lines, which we don't |
+ # care about and want to skip over. |
+ if not line or ': ' not in line: |
continue |
key, val = line.split(': ', 1) |
attrs[key] = val |