remove vs rm vs forget

Jari Aalto+mail.perl jari.aalto at cante.net
Fri Jun 16 10:39:51 BST 2006


* Fri 2006-06-16 Michael Ellerman <michael AT ellerman.id.au>
* Message-Id: dc1166600606160142s69342af6i7b24d5af5015b869 AT mail.gmail.com
> 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.

To me deleting file from working dir without explicit request is too
dangerous -- I think SVN did go wrong there and CVS was right to
request user to do that.

Jari





More information about the bazaar mailing list