~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 4420.1.2.

  • Committer: Vincent Ladeuil
  • Date: 2009-06-10 12:38:51 UTC
  • mto: (4452.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4453.
  • Revision ID: v.ladeuil+lp@free.fr-20090610123851-ftix8vy3p054jlwn
Fix bug #284038 by adding a --strict option to push.

* tests/branch_implementations/test_push.py:
(EmptyPushSmartEffortTests.test_empty_branch_command): Fix
semi-unrelated get_url() misuse.

* tests/blackbox/test_push.py:
(TestPushRedirect.test_push_gracefully_handles_too_many_redirects):
Test push command behavior with respect to uncommitted changes and
--strict option.

* builtins.py:
(cmd_push): Add a '--strict' option to check uncommitted changes.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: