Merge lp:~garyvdm/bzr/commit-BoundBranchOutOfDate into lp:bzr
Proposed by
Gary van der Merwe
on 2010-03-01
| Status: | Merged |
|---|---|
| Merged at revision: | not available |
| Proposed branch: | lp:~garyvdm/bzr/commit-BoundBranchOutOfDate |
| Merge into: | lp:bzr |
| Diff against target: |
75 lines (+15/-7) 4 files modified
NEWS (+7/-0) bzrlib/builtins.py (+5/-4) bzrlib/errors.py (+2/-1) bzrlib/tests/commands/test_commit.py (+1/-2) |
| To merge this branch: | bzr merge lp:~garyvdm/bzr/commit-BoundBranchOutOfDate |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Martin Pool | 2010-03-01 | Approve on 2010-03-02 | |
|
Review via email:
|
|||
To post a comment you must log in.
| Gary van der Merwe (garyvdm) wrote : | # |
| Martin Pool (mbp) wrote : | # |
Nice.
I wonder if the extra message should somehow always be defined in the error, but this is fine for now.
review:
Approve
lp:~garyvdm/bzr/commit-BoundBranchOutOfDate
updated
on 2010-03-03
- 5068. By Gary van der Merwe on 2010-03-03
-
Merge bzr.dev.

In qbzr, we would like to detect when a commit fails because the bound branch is not up to date. But because the Commit.run method returns a very generic BzrCommandError, this cannot be done. This patch changes things so that it returns a more specific BoundBranchOutO fDate.