/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 2946.3.3 17 years ago John Arbash Meinel Prefer tree.get_root_id() as more explicit than tr 13.3 KB Diff Download File
test_get_file_mtime.py 2405.3.1 18 years ago John Arbash Meinel Add some tests for get_file_mtime, and clean up ot 1.6 KB Diff Download File
test_get_root_id.py 2946.3.4 17 years ago John Arbash Meinel Comment from Martin: Use 'make_tree_*' not 'get_tr 1.5 KB Diff Download File
test_get_symlink_target.py 2949.5.1 17 years ago Alexander Belchenko selftest: use SymlinkFeature instead of TestSkippe 1.7 KB Diff Download File
test_inv.py 3123.1.1 17 years ago John Arbash Meinel Update from deprecating 0.93 to 1.0, and add a 1.1 10.4 KB Diff Download File
test_list_files.py 2255.2.71 18 years ago John Arbash Meinel Add a test for list_files, and implement it for Di 2.1 KB Diff Download File
test_path_content_summary.py 2776.1.7 18 years ago Robert Collins * New method on ``bzrlib.tree.Tree`` ``path_conten 3.9 KB Diff Download File
test_revision_tree.py 1908.11.5 18 years ago John Arbash Meinel [merge] bzr.dev 2240 1.2 KB Diff Download File
test_test_trees.py 2949.5.1 17 years ago Alexander Belchenko selftest: use SymlinkFeature instead of TestSkippe 13.5 KB Diff Download File
test_tree.py 2743.3.6 18 years ago Ian Clatworthy Merge bzr.dev 6.4 KB Diff Download File
test_walkdirs.py 2408.1.3 18 years ago Alexander Belchenko tree_implementations: make usage of symlinks optio 4.3 KB Diff Download File