/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
..
http 1540.3.3 19 years ago Martin Pool Review updates of pycurl transport Split them out Diff
__init__.py 3104.4.5 17 years ago Andrew Bennetts Merge from bzr.dev. 70.3 KB Diff Download File
brokenrename.py 2555.3.14 18 years ago Martin Pool Better handling in LockDir of rename that moves on 1.9 KB Diff Download File
chroot.py 2592.3.99 18 years ago Robert Collins Remove stale close_file_stream methods on Transpor 5.5 KB Diff Download File
decorator.py 2592.3.163 18 years ago Robert Collins Merge bzr.dev (untested) 7.6 KB Diff Download File
fakenfs.py 1887.1.1 19 years ago Adeodato Simó Do not separate paragraphs in the copyright statem 2.3 KB Diff Download File
fakevfat.py 2745.5.1 18 years ago Robert Collins * New parameter on ``bzrlib.transport.Transport.re 3.8 KB Diff Download File
ftp.py 3021.1.4 17 years ago Vincent Ladeuil Use the right execption. * bzrlib/transport/ftp.p 22.3 KB Diff Download File
local.py 3010.1.10 17 years ago Robert Collins Honour file modes for write streams. 20.1 KB Diff Download File
memory.py 3010.2.1 17 years ago Martin Pool Followon from MemoryTransport._abspath fix: add te 10.9 KB Diff Download File
readonly.py 2018.5.95 18 years ago Andrew Bennetts Add a Transport.is_readonly remote call, let {Bran 3 KB Diff Download File
remote.py 3183.2.1 17 years ago Andrew Bennetts Set the recommended page size for RemoteTransport 20.8 KB Diff Download File
sftp.py 2938 18 years ago Canonical.com Patch Queue Manager (John Arbash Meinel) Register netloc protocols ear 42.7 KB Diff Download File
ssh.py 3066.2.1 17 years ago John Arbash Meinel We don't require paramiko for bzr+ssh. Don't prete 23 KB Diff Download File
trace.py 2745.5.4 18 years ago Robert Collins Review feedback. 5.6 KB Diff Download File
unlistable.py 2617.4.1 18 years ago Robert Collins Add a new transport decorator unlistable+ for test 1.7 KB Diff Download File