Part of bzrlib.plugins.launchpad.lp_propose View In Hierarchy
Method | __init__ | Constructor. |
Method | get_comment | Determine the initial comment for the merge proposal. |
Method | get_initial_body | Get a body for the proposal for the user to modify. |
Method | check_proposal | Check that the submission is sensible. |
Method | call_webservice | Make a call to the webservice, wrapping failures. |
Method | create_proposal | Perform the submission. |
Method | _get_prerequisite_branch | Undocumented |
Parameters | tree | The working tree for the source branch. |
source_branch | The branch to propose for merging. | |
target_branch | The branch to merge into. | |
message | The commit message to use. (May be None.) | |
reviews | A list of tuples of reviewer, review type. | |
staging | If True, propose the merge against staging instead of production. | |
approve | If True, mark the new proposal as approved immediately. This is useful when a project permits some things to be approved by the submitter (e.g. merges between release and deployment branches). |
Returns | a str or None. |