~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 4464.3.11.

  • Committer: Vincent Ladeuil
  • Date: 2009-07-01 07:20:36 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-20090701072036-z0v9p3wk5hwsu480
Add a check for tree/branch sync and tweak help.

* bzrlib/tests/blackbox/test_send.py:
(load_tests): One more changes type.
(TestSendStrictMixin): More default values.
(TestSendStrictMixin.assertSendFails,
TestSendStrictMixin.assertSendSucceeds): More default values used.
(TestSendStrictWithChanges._out_of_sync_trees): Setup a new
context and change the default values.

* bzrlib/send.py:
(send): Add an additional check that the tree is still in sync
with its branch before sending.

* bzrlib/builtins.py:
(cmd_push, cmd_send, cmd_bundle_revisions): Mention --no-strict in
the option help so users get an hint.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: