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

Jari Aalto jari.aalto at cante.net
Tue Feb 20 17:29:34 GMT 2007


"James Henstridge" <james at jamesh.id.au> writes:

> On 19/02/07, Joseph Wakeling <joseph.wakeling at webdrake.net> wrote:
>> You could do this, or you could add it as a flag to bzr remove
>> (bzr rm -D for example, as John Whitley suggested).
>>
>> I personally think that using remove -D and rm -D is preferable for a
>> couple of reasons.  First, I really don't like the idea of having
>> "dangerous" commands which by default can result in data loss.
>> Requiring a flag means you can't do it by accident, you have to say,
>> "Yes, unconditionally, without question, I want to scrub this data."
>
> A flag for rm/remove sounds good to me, but I'd suggest using "bzr rm
> -f" instead.  Both CVS and Subversion use -f or --force for "unversion
> + delete", so it seems silly to implement the same feature but pick a
> different name without a good reason.

This is better. -f --force is intuitive.

Jari




More information about the bazaar mailing list