Merge lp:~matsubara/launchpadlib/close-bugs-from-commits into lp:launchpadlib

Proposed by Diogo Matsubara
Status: Merged
Approved by: Diogo Matsubara
Approved revision: not available
Merged at revision: not available
Proposed branch: lp:~matsubara/launchpadlib/close-bugs-from-commits
Merge into: lp:launchpadlib
Diff against target: 13 lines (+2/-1)
1 file modified
contrib/close_bugs_from_commits.py (+2/-1)
To merge this branch: bzr merge lp:~matsubara/launchpadlib/close-bugs-from-commits
Reviewer Review Type Date Requested Status
Leonard Richardson (community) Approve
Review via email: mp+18103@code.launchpad.net

Commit message

fix contrib script close_bugs_from_commits.py to properly concatenate the revno in the codebrowse url

To post a comment you must log in.
Revision history for this message
Diogo Matsubara (matsubara) wrote :

One line fix to the contrib/close_bugs_from_commits.py script to properly concatenate the revno in the codebrowse url

Revision history for this message
Leonard Richardson (leonardr) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'contrib/close_bugs_from_commits.py'
2--- contrib/close_bugs_from_commits.py 2009-09-29 15:39:26 +0000
3+++ contrib/close_bugs_from_commits.py 2010-01-26 21:27:12 +0000
4@@ -102,7 +102,8 @@
5 lp_bug.id, revno)
6 branch_location = branch_info['location'].replace(
7 'bzr+ssh', 'http')
8- codebrowse_url = branch_location + '/revision/' + revno
9+ codebrowse_url = (
10+ branch_location + '/revision/' + str(revno))
11 bug_task.transitionToStatus(status=u'Fix Committed')
12 bug_task.bug.newMessage(
13 subject=u'Bug fixed by a commit',

Subscribers

People subscribed via source and target branches