/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
..
doc_generate 1534.7.158 19 years ago Aaron Bentley Merged John Meinel's integration Diff
win32 1821.1.1 19 years ago Alexander Belchenko win32 installer for bzr.dev.0.9 Diff
__init__.py 1534.7.158 19 years ago Aaron Bentley Merged John Meinel's integration Empty Diff Download File
File biobench.py 1185.44.26 19 years ago Martin Pool Make biobench directly executable 2.3 KB Diff Download File
bzr_epydoc 2399.1.15 18 years ago John Arbash Meinel [merge] api-doc-builder and remove the pydoctor bu 264 bytes Diff Download File
bzr_epydoc_uid.py 2399.1.15 18 years ago John Arbash Meinel [merge] api-doc-builder and remove the pydoctor bu 1.3 KB Diff Download File
capture_tree.py 2624.1.1 18 years ago Adeodato Simó Loose python2.4-specific shebangs; use generic pyt 1 KB Diff Download File
convertfile.py 1887.1.1 19 years ago Adeodato Simó Do not separate paragraphs in the copyright statem 2.1 KB Diff Download File
convertinv.py 1887.1.1 19 years ago Adeodato Simó Do not separate paragraphs in the copyright statem 2 KB Diff Download File
history2revfiles.py 1887.1.1 19 years ago Adeodato Simó Do not separate paragraphs in the copyright statem 2.8 KB Diff Download File
http_client.py 1963.2.6 19 years ago Robey Pointer pychecker is on crack; go back to using 'is None'. 15 KB Diff Download File
riodemo.py 1185.47.1 19 years ago Martin Pool [broken] start converting basic_io to more rfc822- 1.9 KB Diff Download File
File rst2html.py 3092.4.2 17 years ago Martin Pool Remove dead comment 1.8 KB Diff Download File
File rst2prettyhtml.py 2691.1.17 18 years ago Ian Clatworthy Fix pretty doc generation so works for all html do 1.8 KB Diff Download File
File trace-revisions 2624.1.1 18 years ago Adeodato Simó Loose python2.4-specific shebangs; use generic pyt 317 bytes Diff Download File
weavebench.py 1887.1.1 19 years ago Adeodato Simó Do not separate paragraphs in the copyright statem 2.6 KB Diff Download File
weavemerge.sh 1185.1.29 20 years ago Robert Collins merge merge tweaks from aaron, which includes late 584 bytes Diff Download File