remove vs rm vs forget
Jelmer Vernooij
jelmer at samba.org
Thu Jun 15 17:54:20 BST 2006
On Thu, Jun 15, 2006 at 07:45:42PM +0300, Jari Aalto+mail.perl wrote:
> * Mon 2006-06-05 Michael Ellerman <michael AT ellerman.id.au>
> > I'd suggest:
> > - "bzr rm" is deprecated.
> > - "bzr remove" is an alias for "bzr unversion" and does the opposite
> > of "bzr add".
> > - when users want to remove a file they just "rm" it.
> > - when this happens the file becomes "missing" in bzr terms
> > - you can't commit with "missing" files, you have to either recreate
> > the file, or "bzr unversion" it.
> > - there should be an easy way to say "unversion all the currently
> > missing files".
> > This has the, IMHO desirable, properties that:
> > - bzr never deletes user data.
> > - users can use standard tools to remove files, eg. "rm" or via Nautilus.
> > - but, because removal is a potentially dangerous operation, there's
> > still a confirmation step required.
> > - it's harder to accidentally unversion a file.
> And the command
> bzr rm [--delete]
> is simply
> - Elegant
> - Self explanatory
Sorry, this is hard self explanatory. It's a bit like something like
"bzr add --new". Does "bzr rm" remove the file from the inventory and
passing --delete will also remove it from disk or the other way around?
"bzr forget" and "bzr remove" or "bzr forget [--remove]" would make
much more sense imho.
Cheers,
Jelmer
-------------- 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/20060615/b902f965/attachment.pgp
More information about the bazaar
mailing list