bzr rm {--force, --keep, --safe} is hard to use

Bug #400554 reported by Marius Kruger
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Medium
Marius Kruger

Bug Description

change behaviour to delete the files by default

* 'bzr rm foo' - will make foo unversioned and delete foo, making backups when necessary with the same rules 'bzr revert' uses.
* 'bzr rm foo --keep' - will only unversion (will not make backups).
* 'bzr rm foo --force' or 'bzr rm foo --delete' - will delete the file regardless if it is safe and will not make backups.

for further info/discussion see also:
http://bazaar-vcs.org/Specs/bzr-rm-behaviour

Related branches

Revision history for this message
Zearin (zearin) wrote :

I suspect this won't be received well because command line programs tend to prefer using --flags instead of confirmation dialogs, but…

What if you just asked the user "Delete, Keep, or Unversion? [Default: X]"

Marius Kruger (amanica)
Changed in bzr:
status: Confirmed → In Progress
Revision history for this message
Martin Pool (mbp) wrote :

@Zearin we could add an --interactive option to do that.

Vincent Ladeuil (vila)
Changed in bzr:
milestone: none → 2.3b1
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.