~vila/bzr/284038-push-strict

  • Committer: Vincent Ladeuil
  • Date: 2009-06-30 15:54:23 UTC
  • Revision ID: v.ladeuil+lp@free.fr-20090630155423-afousrl3zrdx0he2
Fixed as per jam's review.

* tests/blackbox/test_push.py:
(load_tests): One more changes type.
(TestPushStrictMixin): Switch to using mixin, it's clearer.
Define some default values as attributes so that they can be
changed more easily.
(TestPushStrictMixin.assertPushFails,
TestPushStrictMixin.assertPushSucceeds): Use default values from
attributes.
(TestPushStrictWithChanges._out_of_sync_trees): Setup a new
context and change the default values.

* errors.py:
(OutOfDateTree, UncommittedChanges): Add a more parameter so more
details can be given.

* builtins.py:
(cmd_push.run): Add an additional check that the tree is still in
sync with its branch before pushing.
Filename Latest Rev Last Changed Committer Comment Size
..
bzrlib 1185.1.29 18 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
contrib 1185.1.29 18 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
doc 1185.1.29 18 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
man1 2425.1.1 16 years ago Robert Collins ``make docs`` now creates a man page at ``man1/bzr Diff
tools 1185.1.29 18 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
.bzrignore 4459.2.1 14 years ago Vincent Ladeuil Use a consistent scheme for naming pyrex source fi 1.1 KB Diff Download File
.rsyncexclude 1185.33.36 18 years ago Martin Pool Exclude more files from dumb-rsync upload 203 bytes Diff Download File
BRANCH.TODO 4325.3.4 14 years ago Johan Walles Merge from upstream. 150 bytes Diff Download File
File bzr 4484.1.1 14 years ago Jonathan Lange Merge the 1.16.1 changes back into trunk. 5.6 KB Diff Download File
bzr.ico 3688.3.3 15 years ago John Arbash Meinel An updated transparent icon for bzr. 12.7 KB Diff Download File
COPYING.txt 1861.2.9 17 years ago Alexander Belchenko rename gpl.txt => COPYING.txt 17.5 KB Diff Download File
INSTALL 2696.2.4 16 years ago Aaron Bentley Fix typo 1.4 KB Diff Download File
Makefile 4070.11.14 14 years ago Martin Pool merge news 11 KB Diff Download File
NEWS 4491 14 years ago Vincent Ladeuil Start addressing jam's concerns. 356 KB Diff Download File
profile_imports.py 4183.7.1 15 years ago Sabin Iacob update FSF mailing address 5.5 KB Diff Download File
README 3286 16 years ago Canonical.com Patch Queue Manager Start 1.4 development 3.3 KB Diff Download File
File setup.py 4471.1.1 14 years ago Vincent Ladeuil Use consistent naming rules for pyrex modules 24.8 KB Diff Download File
TODO 2382.2.5 16 years ago Martin Pool Contents of TODO file moved into bug tracker 115 bytes Diff Download File