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

John Arbash Meinel john at arbash-meinel.com
Tue Feb 20 22:42:38 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

James Henstridge wrote:
> On 20/02/07, Marius Kruger <amanic at gmail.com> wrote:
>> Does anybody object to having the extra commands 'bzr del' & 'bzr
>> delete' ?
> 
> Well, on CVS "delete" is a synonym for remove, and on Subversion both
> "del" and "delete" are synonyms.
> 
> If the Bazaar command can result in data loss by default while the
> equivalent command in CVS/Subversion doesn't, then someone will trip
> up sooner or later.
> 
> If we have "del" or "delete", they should probably just be aliases for
> "remove".
> 
> James.

I'll weigh in with my vote. I don't really like --force for deleting the
file from the meaning of "force delete", but since there is a strong
precedence for it, I think it is the best option.

And I agree with Aaron and James, that if we have 'delete' it should
just be an alias for "remove".

Oh, and we currently don't have "-f == --force", we should think if we
want it. I think we have "-F == --file" as the closest.

If we did --delete, we have -d = --directory and -D == Debug (-Derror),
so I think it is best to just go with --force. And consider a '-f' short
version.

Oh, and someone wondered about 'rm', you can do "-i" for --interactive.
(And newer versions support -I which prompts some of the time).

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF23ldJdeBCYSNAAMRAhbZAKDLSHMt5WsOIjAm7nnBU+GgRF+1awCgrAim
x+doI8jVZBhwrnZDmSfxQzQ=
=AHgn
-----END PGP SIGNATURE-----



More information about the bazaar mailing list