summaryrefslogtreecommitdiff
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
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
-rw-r--r--ChangeLog4
-rw-r--r--tools/commit-wrangler.py8
2 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6916754..34fe00c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2008-02-23 Thomas Thurman <tthurman@gnome.org>
+ * tools/commit-wrangler.py: Print URL of changeset on success.
+
+2008-02-23 Thomas Thurman <tthurman@gnome.org>
+
Refactored handling of enumerated preferences.
* src/core/prefs.c (handle_preference_init_enum,
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)
+