remove vs rm vs forget

Michael Ellerman michael at ellerman.id.au
Fri Jun 16 09:42:45 BST 2006


On 6/16/06, Jari Aalto+mail.perl <jari.aalto at cante.net> wrote:
> * Fri 2006-06-16 Matthew Hannigan <mlh AT zip.com.au>
> * Message-Id: 20060616000130.GB2348 AT mattsputer.localdomain
> > On Thu, Jun 15, 2006 at 07:45:42PM +0300, Jari Aalto+mail.perl wrote:
> >>     rm
> >>
> >> Has established history since day one. The meanin is clear even in context
> >> of VCS:
> >
> > ?  SVN deletes the file as well as removing from repository.
> > Or do you mean working directory (if so you're confusing the
> > heck out of me.)
>
> - CVS does not delete file (user has to)
> - SVN does both (in repo + working dir)
> - BZR would delete it from repo (and leave it on working dir)

This is exactly the problem. It _isn't_ clear what 'rm' should do. The
fact that cvs and svn both have the command, and it does something
different isn't useful. We either have to pick one, or perhaps the
best option is to pick neither.

> - change project; What the command called in VCS x?
> - change project; What the command called in VCS y?
>   ...
>   "Argh, why can't they use common command set ..."

But you still have to remember for each VCS what 'rm' _actually does_,
so there's no less remembering.

cheers




More information about the bazaar mailing list