Merge lp:~abentley/launchpad/better-recipe-errors into lp:launchpad
| Status: | Merged |
|---|---|
| Approved by: | Tim Penhey on 2010-11-24 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 11992 |
| Proposed branch: | lp:~abentley/launchpad/better-recipe-errors |
| Merge into: | lp:launchpad |
| Diff against target: |
61 lines (+25/-7) 3 files modified
lib/lp/code/browser/sourcepackagerecipe.py (+1/-4) lib/lp/code/browser/tests/test_sourcepackagerecipe.py (+23/-2) utilities/sourcedeps.conf (+1/-1) |
| To merge this branch: | bzr merge lp:~abentley/launchpad/better-recipe-errors |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Tim Penhey (community) | 2010-11-24 | Approve on 2010-11-24 | |
|
Review via email:
|
|||
Commit Message
Show useage for recipe instruction parse errors.
Description of the Change
= Summary =
Fix bug #604718: Parse errors should give a "USAGE" for the line that they are parsing.
Fix bug #677672: Doesn't give information about where parse errors occur
== Proposed fix ==
Update to the latest version of bzr-builder, which incorporates usage messages.
Use the exception message verbatim, so that both usage and line/column
information is provided.
== Pre-implementation notes ==
None
== Implementation details ==
None
== Tests ==
== Demo and Q/A ==
bin/test -t test_create_
= Launchpad lint =
Checking for conflicts and issues in changed files.
Linting changed files:
lib/lp/
utilities/
lib/lp/

Looks good.