RFC: bzr rm is hard to use

Ian Clatworthy ian.clatworthy at canonical.com
Mon Jul 20 01:28:28 BST 2009


Marius Kruger wrote:
>>> We need to choose how would like it to work:
>>>       
> Option 1) delete the files by default
> Option 2) we keep the files by default
>
>   
>> By consensus I meant option 1 but looking at later mail it may not be
>> consensus quite yet.
>>     
>
> It also looks to me if option 1 is winning and is closer to what we
> have now, but not everybody agrees.
> In the end there can be only one default, so we have to choose.
> So somebody can make a call, we can vote or we can discuss this endlessly :-)
> I think I'm going with option 1 for now unless somebody violently objects.
>
>   
Marius,

Thanks for writing this up and taking it on.

FWIW, Bazaar Explorer is going to have Delete and Remove as separate
actions.:

* Delete uses the standard "Edit/Delete" icon. It's tooltip/description
is "Delete the object from the filesystem."

* Remove uses the "-" icon (bzr add's icon is "+"). It's
tooltip/description is "Remove item from the list of those being tracked".

I think the command line UI ought to be equally simple. And it can be:
'rm foo' deletes the file so command line users can simply use that
instead of 'bzr rm foo' if they want the file deleted. (Yes, there are
edge cases but they shouldn't drive the core UI design IMO).

Ian C.



More information about the bazaar mailing list