Part of lp.code.interfaces.branchmergeproposal View In Hierarchy
Known subclasses: lp.code.interfaces.webservice.IBranchMergeProposal
| Method | createComment | Create an ICodeReviewComment associated with this merge proposal. |
| Method | createCommentFromMessage | Create an ICodeReviewComment from an IMessage. |
| Method | getDraftInlineComments | Return the draft inline comments related to this MP. |
| Method | saveDraftInlineComment | Save ICodeReviewInlineCommentDraft |
| Method | linkBug | Link a bug to this merge proposal. |
| Method | unlinkBug | Unlink a bug from this merge proposal. |
| Parameters | owner | The person who the message is from. |
| subject | The subject line to use for the message. | |
| content | The text to use for the message content. If unspecified, the text of the merge proposal is used. | |
| parent | The previous CodeReviewComment in the thread. If unspecified, the root message is used. | |
| previewdiff_id | the inline comments PreviewDiff ID context. | |
| inline_comments | a dictionary containing the draft inline comments keyed by the diff line number. |
ICodeReviewComment from an IMessage.| Parameters | message | The IMessage to use. |
| vote | A CodeReviewVote (or None). | |
| review_type | A string (or None). | |
| original_email | Original email message. |
The return value is a dictionary (object) where the keys are the diff lines and their values are the actual draft comment created by the given person.
| Parameters | previewdiff_id | The ID of the target PreviewDiff. |
| person | The IPerson owner of the draft comments. |
ICodeReviewInlineCommentDraft| Parameters | previewdiff_id | The ID of the target PreviewDiff. |
| person | The IPerson making the comments. | |
| comments | The comments. |