/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 1821.1.1 19 years ago Alexander Belchenko win32 installer for bzr.dev.0.9 51 bytes Diff Download File
bazaar.url 1821.1.1 19 years ago Alexander Belchenko win32 installer for bzr.dev.0.9 109 bytes Diff Download File
bzr-win32-bdist-postinstall.py 2946.2.1 17 years ago Alexander Belchenko windows python-based installer: shortcut for unins 4.6 KB Diff Download File
bzr.iss.cog 3010.4.3 17 years ago Alexander Belchenko teach uninstaller to delete plugins subdirectory; 5.5 KB Diff Download File
bzr_postinstall.py 2245.4.11 18 years ago Alexander Belchenko Small fixes after John's review; added NEWS entry 11.9 KB Diff Download File
file_version.py 1821.1.1 19 years ago Alexander Belchenko win32 installer for bzr.dev.0.9 909 bytes Diff Download File
info.txt 2070.2.2 18 years ago Alexander Belchenko win32 installer: make short info page instead of f 238 bytes Diff Download File
ostools.py 2691.1.16 18 years ago Ian Clatworthy Ensure doc hierarchy is setup correctly for the Wi 2.7 KB Diff Download File
start_bzr.bat 2245.4.7 18 years ago Alexander Belchenko standalone installer: win98 support 959 bytes Diff Download File
survey.txt 2685.2.2 18 years ago Alexander Belchenko fixes after Ian's review 226 bytes Diff Download File