Merge lp:~thumper/launchpad/defer-wip-email into lp:launchpad
Proposed by
Tim Penhey
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Michael Hudson-Doyle | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 11769 | ||||
Proposed branch: | lp:~thumper/launchpad/defer-wip-email | ||||
Merge into: | lp:launchpad | ||||
Prerequisite: | lp:~thumper/launchpad/needs-review-event | ||||
Diff against target: |
190 lines (+64/-10) 5 files modified
lib/lp/code/doc/branch-merge-proposal-notifications.txt (+3/-2) lib/lp/code/model/branch.py (+2/-1) lib/lp/code/model/branchmergeproposal.py (+6/-0) lib/lp/code/model/tests/test_branchmergeproposal.py (+48/-4) lib/lp/code/model/tests/test_branchmergeproposaljobs.py (+5/-3) |
||||
To merge this branch: | bzr merge lp:~thumper/launchpad/defer-wip-email | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Hudson-Doyle | Approve | ||
Review via email: mp+38791@code.launchpad.net |
Commit message
Only send the initial review email when the merge proposal needs review.
Description of the change
Change the addLandingTarget method to only raise the needs review event if the proposal is actually created in needs review state.
Also raise the event when moving from work in progress to needs review.
tests:
TestMergeProp
To post a comment you must log in.