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

John Arbash Meinel john at arbash-meinel.com
Tue Dec 12 00:03:18 GMT 2006


Wouter van Heyst wrote:
...

> When running the selftest with some error you can quickly accumulate a
> bunch of test directories, being able ^Rselftest and tack on --clean to
> get rid of them is conveniently fast. Not enough that I'll argue
> strongly for it's inclusion. Personally I will have bzrtools installed,
> and it's a developerish feature that I think doesn't need to be in core
> bzr perse.
> 
> bzr clean-tree --detritus blows away a bit more than just the test
> directories though, that would be biggest hurdle in my eyes.
> 
> Wouter van Heyst

Well, I think that is a feature more than a hurdle. :)

As I said, it doesn't quite seem the right place. We do have 'make
clean' already, though that won't work on Windows, because 'rm' doesn't
handle unicode characters. We could update 'make clean' to be a little
bit better.

Again, I'm not opposed to it entirely, but I don't really want all of
our commands to be able to do the same things if you just supply the
right options. :) (bzr merge --unmerge --uncommit --revert --clean-tree
--remove-tree)

John
=:->




More information about the bazaar mailing list