Show More
@@ -92,7 +92,6 b' class ChangesetCommentsModel(BaseModel):' | |||
|
92 | 92 | elif pull_request: |
|
93 | 93 | pull_request = self.__get_pull_request(pull_request) |
|
94 | 94 | comment.pull_request = pull_request |
|
95 | desc = pull_request.pull_request_id | |
|
96 | 95 | else: |
|
97 | 96 | raise Exception('Please specify revision or pull_request_id') |
|
98 | 97 | |
@@ -138,8 +137,11 b' class ChangesetCommentsModel(BaseModel):' | |||
|
138 | 137 | qualified=True, |
|
139 | 138 | ) |
|
140 | 139 | subj = safe_unicode( |
|
141 | h.link_to('Re pull request: %(desc)s %(line)s' % \ | |
|
142 |
{'desc': |
|
|
140 | h.link_to('Re pull request #%(pr_id)s: %(desc)s %(line)s' % \ | |
|
141 | {'desc': comment.pull_request.title, | |
|
142 | 'pr_id': comment.pull_request.pull_request_id, | |
|
143 | 'line': line}, | |
|
144 | _url) | |
|
143 | 145 | ) |
|
144 | 146 | |
|
145 | 147 | notification_type = Notification.TYPE_PULL_REQUEST_COMMENT |
General Comments 0
You need to be logged in to leave comments.
Login now