[patch] remove scratch objects

John Arbash Meinel john at arbash-meinel.com
Tue Jun 6 13:50:13 BST 2006


Martin Pool wrote:
> Some old doctests rely on special Scratch object which clean up
> temporary directory when they're deleted.  This is a bit undesirable
> because deletion is not predictable and the classes aren't used enough
> to be worthwhile.  
> 
>  * Remove ScratchBranch, ScratchDir, ScratchTransport, etc
>  * Remove old doctests or convert to unittests
>  * Incidental cleanups
> 
> 
> 
> ------------------------------------------------------------------------
> 
>  HACKING                                                      |   15 ++
>  NEWS                                                         |    6 +
>  bzrlib/branch.py                                             |   43 -------
>  bzrlib/bzrdir.py                                             |   66 -----------
>  bzrlib/doc/api/__init__.py                                   |    4 
>  bzrlib/doc/api/branch.txt                                    |   22 ++-
>  bzrlib/store/text.py                                         |    4 
>  bzrlib/tests/__init__.py                                     |   12 --
>  bzrlib/tests/branch_implementations/test_branch.py           |   20 ---
>  bzrlib/tests/test_whitebox.py                                |   18 ++-
>  bzrlib/tests/workingtree_implementations/test_workingtree.py |   14 ++
>  bzrlib/transport/local.py                                    |   17 --
>  bzrlib/workingtree.py                                        |   13 --
>  13 files changed, 73 insertions(+), 181 deletions(-)
> 
>

Yay removals! +1 from me.

John
=:->


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060606/96316904/attachment.pgp 


More information about the bazaar mailing list