summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorThomas Thurman <tthurman@gnome.org>2008-02-03 22:00:31 +0000
committerThomas James Alexander Thurman <tthurman@src.gnome.org>2008-02-03 22:00:31 +0000
commitf60624ac5b0fb67ce2272876120f88ca529b26c5 (patch)
treee451d476617e49906526f9d4b2ec4b7b4873ade7 /tools
parent836a1f7b0899b1070112f172cca9d9253813114a (diff)
downloadmetacity-f60624ac5b0fb67ce2272876120f88ca529b26c5.tar.gz
metacity-f60624ac5b0fb67ce2272876120f88ca529b26c5.tar.bz2
Fix quoting error and added some more error checking.
2008-02-03 Thomas Thurman <tthurman@gnome.org> * tools/release-wrangler.py: Fix quoting error and added some more error checking. svn path=/trunk/; revision=3542
Diffstat (limited to 'tools')
-rw-r--r--tools/release-wrangler.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/release-wrangler.py b/tools/release-wrangler.py
index c44d523..e756cf9 100644
--- a/tools/release-wrangler.py
+++ b/tools/release-wrangler.py
@@ -54,7 +54,8 @@ def changelog_and_checkin(filename, message):
changelog.close()
os.rename('ChangeLog.tmp', 'ChangeLog')
- os.system('svn commit -m \\"%s\\"' % (message.replace('"','\\"')))
+ if os.system('svn commit -m "%s"' % (message.replace('"','\\"')))!=0:
+ report_error("Could not commit; bailing.")
def check_we_are_up_to_date():
changed = []
@@ -322,7 +323,8 @@ def increment_version(version):
def tag_the_release(version):
version['ucname'] = name.upper()
- os.system("svn cp -m release . svn+ssh://svn.gnome.org/svn/%(name)s/tags/%(ucname)s_%(major)s_%(minor)_%(micro)" % (version))
+ if os.system("svn cp -m release . svn+ssh://svn.gnome.org/svn/%(name)s/tags/%(ucname)s_%(major)s_%(minor)_%(micro)" % (version))!=0:
+ report_error("Could not tag; bailing.")
def main():
get_up_to_date()