~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 4464.3.4.

  • Committer: Vincent Ladeuil
  • Date: 2009-06-26 18:13:41 UTC
  • mto: (4498.2.2 integration)
  • mto: This revision was merged to the branch mainline in revision 4501.
  • Revision ID: v.ladeuil+lp@free.fr-20090626181341-grhq7i0h0gv7xlcb
Fix bug #206577 by adding a --strict option to send.

* bzrlib/tests/blackbox/test_send.py:
(load_tests): Test send --strict for uncommitted changes and
pending merges.
(TestSendBase): Factor out some common helpers.
(TestSendStrict): Helpers for --strict option tests.
(TestSendStrictWithoutChanges, TestSendStrictWithChanges): Test
the --strict option.

* bzrlib/send.py:
(send): Handle the strict option.

* bzrlib/help_topics/en/configuration.txt:
(send_strict): Document.

* bzrlib/builtins.py:
(cmd_send): Add a '--strict' option.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: