]> arthur.barton.de Git - bup.git/commit
Add "bup rm", but require --unsafe invocation
authorRob Browning <rlb@defaultvalue.org>
Tue, 29 Dec 2015 20:53:54 +0000 (14:53 -0600)
committerRob Browning <rlb@defaultvalue.org>
Sun, 14 Feb 2016 00:10:09 +0000 (18:10 -0600)
commit37b642f6143920cb775cef3416072e113a750328
tree1858c77e8504c4d00fb1ea30033e3bd183410f66
parentd852f225cb36755f26f9fa95a790356d1417dc0f
Add "bup rm", but require --unsafe invocation

Allow the removal of branches, and the removal of saves from specified
branches.  This command only removes the references, so until "bup gc"
is available, all of the related data will still be in the repository,
though possibly difficult to reach, unless otherwise tagged.

This command is potentially dangerous, so until we've had broader
testing, require all invocations to specify --unsafe, and make it clear
in the documentation that this command isn't considered stable.

Thanks to Nix for reporting an earlier mistake in the manpage.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
Documentation/bup-rm.md [new file with mode: 0644]
Makefile
cmd/rm-cmd.py [new file with mode: 0755]
lib/bup/git.py
t/test-rm.sh [new file with mode: 0755]