Merge lp:~garyvdm/bzr/commit-BoundBranchOutOfDate into lp:bzr
Proposed by
Gary van der Merwe
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 | Approve | ||
Review via email: mp+20393@code.launchpad.net |
To post a comment you must log in.
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.