summaryrefslogtreecommitdiff
path: root/tools/commit-wrangler.py
diff options
context:
space:
mode:
authorThomas James Alexander Thurman <tthurman@src.gnome.org>2008-11-26 16:38:17 +0000
committerThomas James Alexander Thurman <tthurman@src.gnome.org>2008-11-26 16:38:17 +0000
commite7cef5bbcb22880c5257fb581d501bd5e38b99b3 (patch)
tree2dc6b36c448c4bb83e62e590c9a24b0d44bc6101 /tools/commit-wrangler.py
parent6ddec0d855ef7ad71d5972d74c9cad6868af8c36 (diff)
downloadmetacity-e7cef5bbcb22880c5257fb581d501bd5e38b99b3.tar.gz
metacity-e7cef5bbcb22880c5257fb581d501bd5e38b99b3.tar.bz2
linked language codes to po files print revision url
* tools/announce-wrangler.py: linked language codes to po files * tools/commit-wrangler.py: print revision url svn path=/trunk/; revision=4044
Diffstat (limited to 'tools/commit-wrangler.py')
-rw-r--r--tools/commit-wrangler.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/commit-wrangler.py b/tools/commit-wrangler.py
index e61b85e..f3e15ea 100644
--- a/tools/commit-wrangler.py
+++ b/tools/commit-wrangler.py
@@ -27,6 +27,7 @@ import sys
import os
import posixpath
import ConfigParser
+import re
# FIXME: Needs tidying into separate functions.
@@ -106,8 +107,7 @@ if os.stat(change_filename)[8] == time_before:
# Update the changelog
-print commands.getoutput("moap cl ci")
+checkin = commands.getoutput("moap cl ci")
-#print
-#print 'http://svn.gnome.org/viewvc/metacity?rev=%s&view=rev' % (checkin)
+print re.sub(".*Committed revision (\\d+).*", 'http://svn.gnome.org/viewvc/metacity?rev=\\1&view=rev', checkin)