Merge lp:~thumper/launchpad/fix-branchChanged-scan-request into lp:launchpad
Proposed by
Tim Penhey
Status: | Merged |
---|---|
Approved by: | Robert Collins |
Approved revision: | no longer in the source branch. |
Merged at revision: | 11591 |
Proposed branch: | lp:~thumper/launchpad/fix-branchChanged-scan-request |
Merge into: | lp:launchpad |
Prerequisite: | lp:~thumper/launchpad/branch-distro-set-old-mature |
Diff against target: |
49 lines (+21/-7) 2 files modified
lib/lp/code/model/branch.py (+2/-2) lib/lp/code/model/tests/test_branch.py (+19/-5) |
To merge this branch: | bzr merge lp:~thumper/launchpad/fix-branchChanged-scan-request |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robert Collins (community) | Approve | ||
Review via email: mp+36096@code.launchpad.net |
Commit message
Request branch scans when branchChanged when the tip is different from the last_scanned_id.
Description of the change
There is a possibility of having two pending scan jobs if the user pushes twice before a scan has occurred, but that is preferable to not creating a scan when we need to.
tests:
TestBranchChanged
To post a comment you must log in.
nice