summaryrefslogtreecommitdiff
path: root/tools/commit-wrangler.py
diff options
context:
space:
mode:
authorThomas Thurman <tthurman@gnome.org>2008-02-23 20:54:49 +0000
committerThomas James Alexander Thurman <tthurman@src.gnome.org>2008-02-23 20:54:49 +0000
commitd0e22bf63d336518e4caced68194dd31953765ba (patch)
tree78dff1e02fd3fc39753fe9aacf085a73af6ee182 /tools/commit-wrangler.py
parent8450d9734171f4215257993af65994717563abb8 (diff)
downloadmetacity-d0e22bf63d336518e4caced68194dd31953765ba.tar.gz
metacity-d0e22bf63d336518e4caced68194dd31953765ba.tar.bz2
Print URL of changeset on success.
2008-02-23 Thomas Thurman <tthurman@gnome.org> * tools/commit-wrangler.py: Print URL of changeset on success. svn path=/trunk/; revision=3589
Diffstat (limited to 'tools/commit-wrangler.py')
-rw-r--r--tools/commit-wrangler.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/commit-wrangler.py b/tools/commit-wrangler.py
index ee664fa..a086a5e 100644
--- a/tools/commit-wrangler.py
+++ b/tools/commit-wrangler.py
@@ -156,6 +156,12 @@ os.rename('ChangeLog.tmp', 'ChangeLog')
committing = commands.getstatusoutput('svn commit --file %s.justfunc' % (change_filename))[1]
print 'Committed: ', committing
-# Ends with message "Committed revision 3573." or whatever;
+
+checkin = committing[committing.find('Committed revision')+19:]
+checkin = checkin[:checkin.find('.')]
# this number will be useful in the future for updating
# Bugzilla.
+
+print
+print 'http://svn.gnome.org/viewvc/metacity?rev=%s&view=rev' % (checkin)
+