/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 2777.4.1 18 years ago Andrew Bennetts Move HPSS protocol description from bzrlib.smart d 4.5 KB Diff Download File
branch.py 3015.2.6 17 years ago Robert Collins In the RemoteServer branch methods handle reposito 6 KB Diff Download File
bzrdir.py 2432.4.5 18 years ago Robert Collins Make using SuccessfulSmartServerResponse and Faile 4 KB Diff Download File
client.py 3184.1.10 17 years ago Robert Collins Change the smart server verb for Repository.stream 4 KB Diff Download File
medium.py 3195.2.1 17 years ago Andrew Bennetts Improve test coverage, and fix a bug revealed by t 21.5 KB Diff Download File
protocol.py 3170.5.2 17 years ago Andrew Bennetts Merge from bzr.dev. 24.4 KB Diff Download File
repository.py 3184.1.10 17 years ago Robert Collins Change the smart server verb for Repository.stream 15 KB Diff Download File
request.py 3184.1.10 17 years ago Robert Collins Change the smart server verb for Repository.stream 13.6 KB Diff Download File
server.py 2634.1.1 18 years ago Robert Collins (robertc) Reinstate the accidentally backed out ex 9.3 KB Diff Download File
vfs.py 3146.4.10 17 years ago Aaron Bentley Add handling of PermissionDenied errors to smart p 6.2 KB Diff Download File