diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | tools/commit-wrangler.py | 8 |
2 files changed, 11 insertions, 1 deletions
@@ -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) + |