[MERGE] bzr rm should delete the working file (Bug #82602)

Marius Kruger amanic at gmail.com
Fri Feb 16 14:16:43 GMT 2007

On 2/16/07, Aaron Bentley <aaron.bentley at utoronto.ca> wrote:
> Hash: SHA1
> Marius Kruger wrote:
> > in this today's the bundle:
> >
> >       ``bzr remove`` and ``bzr rm`` will now remove the working file.
> >       This has been done for consistency with svn and the unix rm
> command.
> >       The old ``remove`` behaviour has been retained in the new command
> >       ``bzr unversion``, which will just stop versioning the file,
> >       but not delete it.
> As I noted in that bug, I think it's a good idea for 'rm' to unlink
> files, but I don't think we should change the behaviour of 'remove'.

Sorry I did not see your note.

Remove is a good choice for the "unversion" command because
> 1. People are already using it that way

they use 'rm' that way too

2. It is an antonym of "add".

this makes sense,
but IMHO if we are giving rm and remove different meanings,
we are opening the door to confusion and chaos.
I'm not totally against it, but it looks too confusing to me.

Also, it would make sense for "rmdir" to be an alias of "rm".

will do that
I think 'del' and 'delete' would also be good aliases of 'rm'



I code therefore I am.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20070216/a0f3f541/attachment.htm 

More information about the bazaar mailing list