]> arthur.barton.de Git - bup.git/commit
Include metadata when asked to restore individual non-directory paths.
authorRob Browning <rlb@defaultvalue.org>
Sat, 16 Feb 2013 21:12:47 +0000 (15:12 -0600)
committerRob Browning <rlb@defaultvalue.org>
Fri, 8 Mar 2013 04:01:02 +0000 (22:01 -0600)
commit53649c18ec3db90f80ff4657315009538d4333f3
tree866b613e8ecae95c0ec8d7b15e63532c324a78ee
parent043b85f84df4470252e6424de17e4bd255f52035
Include metadata when asked to restore individual non-directory paths.

Adjust bup restore to handle cases like this:

  bup restore -C tmp backup/latest/somewhere/not-a-directory

Previously bup wouldn't restore the metadata for not-a-directory; now
it should.

Add wvtest-bup.sh which includes wvmktempdir().  This function creates
all temporary directories under t/tmp, making cleanup easier.

Add t/test-restore-single-file.sh

Reported-by: Tim Riemenschneider <t.riemenschneider@detco.de>
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Makefile
cmd/restore-cmd.py
t/test-restore-single-file.sh [new file with mode: 0755]
wvtest-bup.sh [new file with mode: 0644]