Merge lp:~thumper/launchpad/bzr-format-matching-refactoring 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: | 11242 | ||||
Proposed branch: | lp:~thumper/launchpad/bzr-format-matching-refactoring | ||||
Merge into: | lp:launchpad | ||||
Prerequisite: | lp:~thumper/launchpad/stop-factory-mirroring | ||||
Diff against target: |
238 lines (+103/-37) 5 files modified
lib/lp/code/bzr.py (+30/-3) lib/lp/code/enums.py (+0/-9) lib/lp/code/model/branchjob.py (+3/-17) lib/lp/code/tests/test_bzr.py (+66/-0) lib/lp/code/xmlrpc/codehosting.py (+4/-8) |
||||
To merge this branch: | bzr merge lp:~thumper/launchpad/bzr-format-matching-refactoring | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Hudson-Doyle | Approve | ||
Review via email: mp+31014@code.launchpad.net |
Commit message
Refactored the way to get enumerated values for the bazaar formats.
Description of the change
Simplify the say to get the enumerated values for bzr formats.
This will be used in the merge directive handling in the code mail handler, but can be reviewed independently.
To post a comment you must log in.
As discussed on IRC, 'default' means something different for branch formats already, so please change the tests to talk about 'unrecognized' format strings. Otherwise, thanks! Something like this change was overdue :-)