Skip to content

Commit

Permalink
Print URL of changeset on success.
Browse files Browse the repository at this point in the history
2008-02-23  Thomas Thurman  <[email protected]>

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


svn path=/trunk/; revision=3589
  • Loading branch information
marnanel authored and Thomas James Alexander Thurman committed Feb 23, 2008
1 parent 8450d97 commit d0e22bf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2008-02-23 Thomas Thurman <[email protected]>

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

2008-02-23 Thomas Thurman <[email protected]>

Refactored handling of enumerated preferences.
Expand Down
8 changes: 7 additions & 1 deletion tools/commit-wrangler.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,12 @@ def wordwrap(str, prefix=''):
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)

0 comments on commit d0e22bf

Please sign in to comment.