RFC: bzr rm is hard to use

John Szakmeister john at szakmeister.net
Thu Jul 16 03:26:26 BST 2009

On Wed, Jul 15, 2009 at 9:47 PM, Robert
Collins<robertc at robertcollins.net> wrote:
> So, we've got a very complex 'bzr rm'. I don't know about you guys, but
> I'm starting to hate using it - I *always* end up having to type
> '--force' because we're hugely cautious.
> Now, this may be polish, or deeper, but I'd like to fix it.
> Specifically, I'd like (and some of these may be current behaviour):
> 'bzr rm' of an added file to do what 'bzr revert' of the same file does:
> - just unversion it. *IF* --force' is given then delete it.
> 'bzr rm' of a missing file to Just Do It
> 'bzr rm' of a file that has been modified by me to mv it to a backup
> using the same scheme 'bzr revert' does.
> 'bzr rm' of an unmodified file to Just Do It
> 'bzr rm --keep' on any of the cases above that remove the file to
> preserve the file on disk.

I like your proposal.


More information about the bazaar mailing list