/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
..
diff 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 45.4 KB Diff Download File
diff-2 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 270 bytes Diff Download File
diff-3 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 204 bytes Diff Download File
diff-4 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 223 bytes Diff Download File
diff-5 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 4.9 KB Diff Download File
diff-6 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 18.7 KB Diff Download File
insert_top.patch 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 130 bytes Diff Download File
mod 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 91.9 KB Diff Download File
mod-2 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 18.1 KB Diff Download File
mod-3 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 18.1 KB Diff Download File
mod-4 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 18 KB Diff Download File
mod-5 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 13.5 KB Diff Download File
mod-6 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 22 bytes Diff Download File
orig 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 97.8 KB Diff Download File
orig-2 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 18 KB Diff Download File
orig-3 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 18.1 KB Diff Download File
orig-4 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 18 KB Diff Download File
orig-5 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 18 KB Diff Download File
orig-6 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 18 KB Diff Download File
patchtext.patch 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 988 bytes Diff Download File