~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 4989.2.6.

  • Committer: Vincent Ladeuil
  • Date: 2010-02-04 13:09:48 UTC
  • mto: (5176.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 5177.
  • Revision ID: v.ladeuil+lp@free.fr-20100204130948-vi4klo8hfwb5hfhk
Warn instead of aborting on invalid values for append_revisions_only.

* bzrlib/tests/test_branch.py:
(TestBranchOptions.test_invalid_append_revisions_only): Cath the
warning instead of the exception.

* bzrlib/branch.py:
(BzrBranch8._get_append_revisions_only): Only warn if the option
is invalid and default to False in that case for backward
compatibility.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: