/brz/remove-bazaar

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

  • Committer: Vincent Ladeuil
  • Date: 2008-01-29 15:16:31 UTC
  • mto: (3206.1.1 trunk)
  • Revision ID: v.ladeuil+lp@free.fr-20080129151631-vqjd13tb405mobx6
Fix two more leaking tmp dirs, by reworking TransformPreview lock handling.

* bzrlib/tests/test_transform.py:
(TestTransformMerge): Revert previous patch and cleanly call
preview.finalize now that we can.

* bzrlib/tests/test_merge.py:
(TestMerge.test_make_preview_transform): Catch TransformPreview
leak.

* bzrlib/builtins.py:
(cmd_merge._do_preview): Finalize the TransformPreview or the
limbodir will stay in /tmp.

* bzrlib/transform.py:
(TreeTransformBase.__init__): Create the _deletiondir since it's
reffered to by finalize.
(TreeTransformBase.finalize): Delete the dir only if _deletiondir
is set.
(TreeTransform.__init__): Use a temp var for deletiondir and set
the attribute after the base class __init__ has been called.
(TransformPreview.__init__): Read locks the tree since finalize
wants to unlock it (as suggested by Aaron).
Filename Latest Rev Last Changed Committer Comment Size
..
__init__.py 2553.2.6 18 years ago Robert Collins And overhaul BranchTestProviderAdapter too. 7.2 KB Diff Download File
test_bound_sftp.py 1551.15.71 18 years ago Aaron Bentley Fix test case that was importing merge when it did 12.8 KB Diff Download File
test_branch.py 3102.1.1 17 years ago Vincent Ladeuil Rename bzrlib/test/HTTPTestUtils.py to bzrlib/test 27.6 KB Diff Download File
test_break_lock.py 3015.2.4 17 years ago Robert Collins Handle repositories that cannot be remotely locked 3.6 KB Diff Download File
test_commit.py 2789.1.1 18 years ago Ian Clatworthy (Nam Nguyen) Pre-commit hook 8.7 KB Diff Download File
test_create_checkout.py 3044.1.1 17 years ago Martin Pool Fix up calls to TestCase.build_tree passing a stri 2.6 KB Diff Download File
test_get_revision_id_to_revno_map.py 2978.7.1 17 years ago John Arbash Meinel Fix bug #162486, by having RemoteBranch properly i 4.6 KB Diff Download File
test_hooks.py 2696.3.7 18 years ago Martin Pool Update hook test to cope with branches that can't 2.8 KB Diff Download File
test_http.py 3102.1.1 17 years ago Vincent Ladeuil Rename bzrlib/test/HTTPTestUtils.py to bzrlib/test 3.5 KB Diff Download File
test_last_revision_info.py 2249.4.1 18 years ago Wouter van Heyst New Branch.last_revision_info method, this is bein 1.4 KB Diff Download File
test_locking.py 3015.2.15 17 years ago Robert Collins Review feedback. 20.9 KB Diff Download File
test_parent.py 3139.2.1 17 years ago Alexander Belchenko bugfix #90847: fix problem with parent location on 3.6 KB Diff Download File
test_permissions.py 2018.5.99 18 years ago Andrew Bennetts Don't test mode setting for remote branches becaus 3.1 KB Diff Download File
test_pull.py 3052.5.2 17 years ago John Arbash Meinel Use a Graph.heads() check to determine if the ance 8.4 KB Diff Download File
test_push.py 2949.5.1 17 years ago Alexander Belchenko selftest: use SymlinkFeature instead of TestSkippe 10.1 KB Diff Download File
test_revision_history.py 2697.2.2 18 years ago Martin Pool deprecate Branch.append_revision 7.5 KB Diff Download File
test_revision_id_to_revno.py 2598.5.3 18 years ago Aaron Bentley Push NULL_REVISION deeper 1.6 KB Diff Download File
test_sprout.py 2949.5.1 17 years ago Alexander Belchenko selftest: use SymlinkFeature instead of TestSkippe 3.9 KB Diff Download File
test_tags.py 2388.1.12 18 years ago Alexander Belchenko direct test for tags.get_reverse_tag_dict() 7 KB Diff Download File
test_uncommit.py 2598.5.2 18 years ago Aaron Bentley Got all tests passing with Branch returning 'null: 3.9 KB Diff Download File
test_update.py 2598.5.4 18 years ago Aaron Bentley Restore original Branch.last_revision behavior, fi 2.9 KB Diff Download File