Merge lp:~stevenk/launchpad/fixes-bug-387049 into lp:launchpad
Proposed by
Steve Kowalik
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Michael Nelson | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | not available | ||||
Proposed branch: | lp:~stevenk/launchpad/fixes-bug-387049 | ||||
Merge into: | lp:launchpad | ||||
Diff against target: |
75 lines (+54/-0) 2 files modified
lib/lp/soyuz/scripts/packagecopier.py (+15/-0) lib/lp/soyuz/scripts/tests/test_copypackage.py (+39/-0) |
||||
To merge this branch: | bzr merge lp:~stevenk/launchpad/fixes-bug-387049 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Nelson (community) | code | Approve | |
Jelmer Vernooij (community) | code* | Approve | |
Review via email: mp+22516@code.launchpad.net |
Commit message
Forbid copies if the destination archive contains the same files with different contents.
Description of the change
This branch changes the copy package backend so that if the destination archive contains the same files with different contents, CannotCopy is raised and the copy is forbidden.
To post a comment you must log in.
Thanks.
One really nitpicky comment; PEP8 requires two empty lines between top-level items.