Merge lp:~rockstar/launchpad/bug-532290 into lp:launchpad
Proposed by
Paul Hummer
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | not available | ||||
Proposed branch: | lp:~rockstar/launchpad/bug-532290 | ||||
Merge into: | lp:launchpad | ||||
Diff against target: |
72 lines (+28/-1) 3 files modified
.bzrignore (+1/-0) lib/lp/code/model/branchjob.py (+5/-1) lib/lp/code/model/tests/test_branchjob.py (+22/-0) |
||||
To merge this branch: | bzr merge lp:~rockstar/launchpad/bug-532290 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Francis J. Lacoste (community) | rc | Approve | |
Guilherme Salgado (community) | code | Approve | |
Review via email: mp+20772@code.launchpad.net |
Description of the change
Hi there-
This branch fixes bug #532290. Basically, when a branch is upgraded,
versions of Bazaar < 2.2 will copy the .bzr directory to backup.bzr, and then
do the upgrade. This means that if something gets borked, there's an automatic
backup.
The bug was caused when you request a branch be upgraded that already had a
backup.bzr directory. When the branch is cloned, it clones that backup and
then can't upgrade because the backup is in the way.
The fix is just to remove that backup.bzr from the cloned version previous to
upgrading the branch.
Cheers,
Paul
To post a comment you must log in.
As per discussion on IRC, just remove the pdb call and revert the wadl files from .bzrignore as Leonard has a better fix for that in one of his branches.