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
This commit is contained in:
Thomas Thurman 2008-02-23 20:54:49 +00:00 committed by Thomas James Alexander Thurman
parent 8450d97341
commit d0e22bf63d
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,7 @@
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.

View File

@ -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)