[MERGE] 'bzr selftest --clean' allows easily clean temporary tests directories

Vincent Ladeuil v.ladeuil+lp at free.fr
Mon Dec 11 10:20:16 GMT 2006


>>>>> "bialix" == Alexander Belchenko <bialix at ukr.net> writes:

    bialix> This patch provide new flag to selftest command: --clean.
    bialix> Run

    bialix> bzr selftest --clean

    bialix> to remove all testXXXX.tmp directories.

    bialix> This is useful on win32 because *too* often selftest itself fails
    bialix> to cleanup this directories because of Permission Denied errors etc,
    bialix> and because this directory may contain unicode filenames
    bialix> that sometimes break plain del command.

Very useful on other platforms too ;)

+1 with updated help text

    bialix> Alexander

    bialix> # Bazaar revision bundle v0.8
    bialix> #
    bialix> # message:
    bialix> #   'bzr selftest --clean' allows easily clean temporary tests directories
    bialix> #   
    bialix> # committer: Alexander Belchenko <bialix at ukr.net>
    bialix> # date: Mon 2006-12-11 10:49:10.229000092 +0200

    bialix> === modified file bzrlib/builtins.py
    bialix> --- bzrlib/builtins.py
    bialix> +++ bzrlib/builtins.py
    bialix> @@ -2065,16 +2065,28 @@
    bialix>                       Option('cache-dir', type=str,
    bialix>                              help='a directory to cache intermediate'
    bialix>                                   ' benchmark steps'),
    bialix> +                     Option('clean',
    bialix> +                            help='clean temporary tests directories'),
    bialix>                       ]

What about: 'clean temporary tests directories without running tests'

     Vincent




More information about the bazaar mailing list