From d0e22bf63d336518e4caced68194dd31953765ba Mon Sep 17 00:00:00 2001 From: Thomas Thurman Date: Sat, 23 Feb 2008 20:54:49 +0000 Subject: [PATCH] Print URL of changeset on success. 2008-02-23 Thomas Thurman * tools/commit-wrangler.py: Print URL of changeset on success. svn path=/trunk/; revision=3589 --- ChangeLog | 4 ++++ tools/commit-wrangler.py | 8 +++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6916754ee..34fe00ce1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-02-23 Thomas Thurman + + * tools/commit-wrangler.py: Print URL of changeset on success. + 2008-02-23 Thomas Thurman Refactored handling of enumerated preferences. diff --git a/tools/commit-wrangler.py b/tools/commit-wrangler.py index ee664fa3d..a086a5e64 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) +