metacity r3589 - in trunk: . tools



Author: tthurman
Date: Sat Feb 23 20:54:49 2008
New Revision: 3589
URL: http://svn.gnome.org/viewvc/metacity?rev=3589&view=rev

Log:
2008-02-23  Thomas Thurman  <tthurman gnome org>

        * tools/commit-wrangler.py: Print URL of changeset on success.



Modified:
   trunk/ChangeLog
   trunk/tools/commit-wrangler.py

Modified: trunk/tools/commit-wrangler.py
==============================================================================
--- trunk/tools/commit-wrangler.py	(original)
+++ trunk/tools/commit-wrangler.py	Sat Feb 23 20:54:49 2008
@@ -156,6 +156,12 @@
 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)
+



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]