/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
..
bash 1185.1.29 20 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
emacs 1185.1.29 20 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
zsh 1185.1.29 20 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
add-bzr-to-baz 1185.1.29 20 years ago Robert Collins merge merge tweaks from aaron, which includes late 223 bytes Diff Download File
File bzr_access 3112.1.5 17 years ago John Arbash Meinel a small bit of cleanup. 8.1 KB Diff Download File
create_bzr_rollup.py 1185.1.29 20 years ago Robert Collins merge merge tweaks from aaron, which includes late 5.5 KB Diff Download File
fortune 1185.1.29 20 years ago Robert Collins merge merge tweaks from aaron, which includes late 306 bytes Diff Download File
newinventory.py 1963.2.6 19 years ago Robey Pointer pychecker is on crack; go back to using 'is None'. 4.3 KB Diff Download File
pwclient.full 1185.1.29 20 years ago Robert Collins merge merge tweaks from aaron, which includes late 13 KB Diff Download File
pwk 1583.1.2 19 years ago Michael Ellerman Update contrib/pwk for -p1 diffs from bzr 897 bytes Diff Download File
upload-bzr.dev 1185.1.29 20 years ago Robert Collins merge merge tweaks from aaron, which includes late 829 bytes Diff Download File