/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 3031.1.1 17 years ago jml at canonical Expand the documentation on lp:// URLs and mention 7.3 KB Diff Download File
account.py 2980 17 years ago Canonical.com Patch Queue Manager (robertc) Improved lp:/// URL support for the Laun 2.1 KB Diff Download File
lp_indirect.py 3031.2.4 17 years ago jml at canonical Only split the URL once. 4.9 KB Diff Download File
lp_registration.py 2978.5.2 17 years ago John Arbash Meinel merge bzr.dev 2991 8.4 KB Diff Download File
test_account.py 2898.3.10 17 years ago James Henstridge Make LaunchpadAccountTests a TestCaseInTempDir so 3.4 KB Diff Download File
test_lp_indirect.py 3031.2.2 17 years ago jml at canonical Failing test for skipping SFTP. 7.8 KB Diff Download File
test_register.py 2978.5.2 17 years ago John Arbash Meinel merge bzr.dev 2991 12.8 KB Diff Download File