ANN: clean-ignored plugin
John Arbash Meinel
john at arbash-meinel.com
Wed Feb 1 14:47:51 GMT 2006
Vincent LADEUIL wrote:
>>>>>> "Matthieu" == Matthieu Moy <Matthieu.Moy at imag.fr> writes:
>
> Matthieu> 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.
>
> Matthieu> So, why not
>
> Matthieu> bzr ignored --delete => clean-ignored
> Matthieu> bzr unknown --delete => clean-tree
> Matthieu> bzr inventory --delete => err, no, just kidding ;-)
>
> I'm not kidding, I will *never* use 'bzr ignored --delete' unless
> I have the possibility to distinguish between :
> - 'ignored *for now* but preciouuuus'
> - and 'ignored for ever because I do not care'
>
>
> And yes I already use 'ignored' for directories I may put under
> version control later (or part of them, or whatever "I don't want
> to handle that *now*, so, bzr, please, just ignore that").
>
> Should that be added to the uses cases ?
>
> Vincent
I think you have a fairly personal use case. And I wouldn't expect you
to delete your ignored files.
Some people like to clean them out once in a while, but don't use the
same method you use.
Arch had a similar idea to what you are saying. It had "junk, precious,
backup". Each with a different set of semantics. "junk" could be
overwritten at any time, "precious" would never be overwritten, and
would be copied (back when arch actually copied directories through some
obscure command), and "backup" would not be overwritten, but would not
be copied.
That ended up being one of the *major* stumbling blocks for people. And
I think an SCM shouldn't concern itself too much about the files it
*isn't* handling. unknown/ignored works for your use case, just don't
delete them. :)
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/9af8a82d/attachment.pgp
More information about the bazaar
mailing list