ANN: clean-ignored plugin

John Arbash Meinel john at arbash-meinel.com
Wed Feb 1 13:55:52 GMT 2006


Martin Pool wrote:
> On  1 Feb 2006, Matthieu Moy <Matthieu.Moy at imag.fr> wrote:
>> Alexander Belchenko <bialix at ukr.net> writes:
>>
>>> Because clean-tree ALWAYS delete unknown files. But I sometimes want to
>>> delete ONLY ignored. So Martin's idea to have 'bzr ignored --delete'
>>> behaviour for deleting only ignored is very handy for me. I'll take the
>>> request.
>> So, why not
>>
>> bzr ignored --delete   => clean-ignored
>> bzr unknown --delete   => clean-tree
>> bzr inventory --delete => err, no, just kidding ;-)
> 
> That sounds good to me.  It seems to give the most useful functionality,
> without proliferating commands.
> 
> (Perhaps people would dislike options that change the fundamental verb
> from 'show' to 'delete'?  But it feels reasonable.)
> 

I thought we were actually trying to get rid of the 'bzr ignored' and
switch to something like "bzr ls --ignored", because of the
proliferation of commands.

Also, in unix style, you would use 'bzr ls --ignored -0 | xargs -0 rm'

I don't mind making it a little bit easier for users, but I'm not sure
that 'bzr ignored --delete' is the answer.

In fact, it makes more sense to me to use "bzr rm --all-ignored", since
that is the command which is doing the deleting.

John
=:->


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


More information about the bazaar mailing list