Merge lp:~abentley/launchpad/unnecessary-upgrade into lp:launchpad
Status: | Merged |
---|---|
Merged at revision: | 13765 |
Proposed branch: | lp:~abentley/launchpad/unnecessary-upgrade |
Merge into: | lp:launchpad |
Prerequisite: | lp:~abentley/launchpad/upgrade-not-branch-error |
Diff against target: |
416 lines (+151/-23) 8 files modified
lib/lp/code/browser/branch.py (+5/-1) lib/lp/code/browser/tests/test_branch.py (+26/-4) lib/lp/code/errors.py (+34/-0) lib/lp/code/interfaces/branch.py (+6/-0) lib/lp/code/model/branch.py (+20/-7) lib/lp/code/model/branchjob.py (+1/-4) lib/lp/code/model/tests/test_branch.py (+52/-4) lib/lp/code/model/tests/test_branchjob.py (+7/-3) |
To merge this branch: | bzr merge lp:~abentley/launchpad/unnecessary-upgrade |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Deryck Hodge (community) | code | Approve | |
Review via email: mp+72480@code.launchpad.net |
Commit message
Nice error if branch cannot be upgraded.
Description of the change
= Summary =
Fix bug #823850: AssertionError raised upgrading a branch that doesn't need upgrade
== Proposed fix ==
Produce a notification explaining why the branch could not be upgraded.
== Pre-implementation notes ==
None
== Implementation details ==
Extracted the Branch.
Fixed lint.
== Tests ==
bin/test -t checkUpgrade -t test_upgrade_
== Demo and Q/A ==
Upgrade a branch, and then immediately request another upgrade. You should get a nice error notification.
= Launchpad lint =
Checking for conflicts and issues in changed files.
Linting changed files:
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
Looks good. Thanks for fixing this!