Index: build/mac/tweak_info_plist.py |
diff --git a/build/mac/tweak_info_plist.py b/build/mac/tweak_info_plist.py |
index 05196a81b4f8a19b03338a7136997e2c9e27b991..5c0cf1396b495f7424b6a76758162e6d26ff259a 100755 |
--- a/build/mac/tweak_info_plist.py |
+++ b/build/mac/tweak_info_plist.py |
@@ -114,11 +114,11 @@ def _AddVersionKeys(plist, version=None): |
def _DoSCMKeys(plist, add_keys): |
"""Adds the SCM information, visible in about:version, to property list. If |
|add_keys| is True, it will insert the keys, otherwise it will remove them.""" |
- scm_path, scm_revision = None, None |
+ scm_revision = None |
if add_keys: |
version_info = lastchange.FetchVersionInfo( |
default_lastchange=None, directory=TOP) |
- scm_path, scm_revision = version_info.url, version_info.revision |
+ scm_revision = version_info.revision |
# See if the operation failed. |
_RemoveKeys(plist, 'SCMRevision') |
@@ -127,10 +127,8 @@ def _DoSCMKeys(plist, add_keys): |
elif add_keys: |
print >>sys.stderr, 'Could not determine SCM revision. This may be OK.' |
- if scm_path != None: |
- plist['SCMPath'] = scm_path |
- else: |
- _RemoveKeys(plist, 'SCMPath') |
+ # TODO(thakis): Remove this once m25 has reached stable. |
+ _RemoveKeys(plist, 'SCMPath') |
Nico
2012/11/28 20:24:40
This is probably unnecessary paranoia. I can remov
|
def _DoPDFKeys(plist, add_keys): |