/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

  • Committer: Vincent Ladeuil
  • Date: 2009-10-06 14:40:37 UTC
  • mto: (4728.1.2 integration)
  • Revision ID: v.ladeuil+lp@free.fr-20091006144037-o76rgosv9hj3td0y
Simplify mutable_tree.has_changes() and update call sites.

* bzrlib/workingtree.py:
(WorkingTree.merge_from_branch): Add a force parameter. Replace
the check_basis() call by the corresponding code, taken the new
'force' parameter into account.

* bzrlib/tests/test_status.py:
(TestStatus.make_multiple_pending_tree): Add force=True on
supplementary merges.

* bzrlib/tests/test_reconfigure.py:
(TestReconfigure): Add a test for pending merges.

* bzrlib/tests/test_msgeditor.py:
(MsgEditorTest.make_multiple_pending_tree): Add force=True on
supplementary merges.

* bzrlib/tests/blackbox/test_uncommit.py:
(TestUncommit.test_uncommit_octopus_merge): Add force=True on
supplementary merges.

* bzrlib/send.py:
(send): Use the simplified has_changes(). Fix typo in comment too.

* bzrlib/reconfigure.py:
(Reconfigure._check): Use the simplified has_changes().

* bzrlib/mutabletree.py:
(MutableTree.has_changes): Make the tree parameter optional but
retain it for tests. Add a pending merges check.

* bzrlib/merge.py:
(Merger.ensure_revision_trees, Merger.file_revisions,
Merger.check_basis, Merger.compare_basis): Deprecate.

* bzrlib/bundle/apply_bundle.py:
(merge_bundle): Replace the check_basis() call by the
corresponding code.

* bzrlib/builtins.py:
(cmd_remove_tree.run, cmd_push.run, cmd_merge.run): Use the
simplified has_changes().
(cmd_merge.run): Replace the check_basis call() by the corresponding
code (minus the alredy done has_changes() check).

Filename Latest Rev Last Changed Committer Comment Size
..
__init__.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 4.5 KB Diff Download File
branch.py 4556.2.8 16 years ago Andrew Bennetts Add TODO comment. 12.5 KB Diff Download File
bzrdir.py 4634.47.6 16 years ago Andrew Bennetts Give 'no' response for paths outside the root_clie 18.9 KB Diff Download File
client.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 9.3 KB Diff Download File
medium.py 4634.18.2 16 years ago Martin Pool Further until_no_eintr cover is smart.py 34.8 KB Diff Download File
message.py 4634.6.30 16 years ago Andrew Bennetts Remove SmartServerRequest.dispatch_command, fix Sm 13.3 KB Diff Download File
packrepository.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 1.5 KB Diff Download File
protocol.py 4634.6.30 16 years ago Andrew Bennetts Remove SmartServerRequest.dispatch_command, fix Sm 49.7 KB Diff Download File
repository.py 4634.19.2 16 years ago Robert Collins Review feedback. 31.6 KB Diff Download File
request.py 4634.47.10 16 years ago Andrew Bennetts Merge bzr.dev; fix test isolation glitch. 22.3 KB Diff Download File
server.py 4712 16 years ago Canonical.com Patch Queue Manager (mbp) deprecate trace.info, error, show_error 17.9 KB Diff Download File
vfs.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 7 KB Diff Download File