ANN: clean-ignored plugin
Wouter Bolsterlee
uws at xs4all.nl
Wed Feb 1 14:09:05 GMT 2006
På Wed, Feb 01, 2006 at 07:55:52AM -0600, John Arbash Meinel skrev:
> 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.
To me, John's suggestion is the best so far. The semantics of the commands
are really clear and non-ambiguous.
mvrgr, Wouter
P.S. Why do people always reply to the list as well as my private address?
--
:wq mail uws at xs4all.nl
web http://uwstopia.nl
i'm the girl :: i'm the girl :: you know me -- heather nova
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060201/a544ea66/attachment.pgp
More information about the bazaar
mailing list