~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 5066.1.1.

  • Committer: Gary van der Merwe
  • Date: 2010-03-01 19:53:13 UTC
  • mto: This revision was merged to the branch mainline in revision 5073.
  • Revision ID: garyvdm@gmail.com-20100301195313-hc3nek3cu8g5kkqh
Make it possible to detect a BoundBranchOutOfDate from commit.

* ``bzrlib.builtins.Commit.run`` raises ``bzrlib.errors.BoundBranchOutOfDate``
  rather than ``bzrlib.errors.BzrCommandError`` when the bound branch is out
  of date. (Gary van der Merwe)
* ``bzrlib.errors.BoundBranchOutOfDate`` has a new field ``extra_help``
  which can be set to add extra help to the error. (Gary van der Merwe)

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: