]> arthur.barton.de Git - bup.git/commit
vfs: change /save/latest back to a symlink to the latest save
authorRob Browning <rlb@defaultvalue.org>
Sun, 9 Dec 2018 18:40:26 +0000 (12:40 -0600)
committerRob Browning <rlb@defaultvalue.org>
Sat, 12 Jan 2019 17:30:59 +0000 (11:30 -0600)
commit7dfb95be5b950e6b1fb47088ee26dded75a4700d
treeaff3aefff761df34a40466a8210dddd6377e8a3f
parentfcd664d3d237d0b2402a134f3a160d0faa5f1058
vfs: change /save/latest back to a symlink to the latest save

The current, reworked vfs presents /somesave/latest as if it actually
is the latest commit.  Change it back to a symlink to the latest save
to roughly match the previous behavior -- though now it's a link to
the save name, not to the (removed) /.commit/ subtree.

To restore the link, reintroduce the concept of a fake
symlink (i.e. one that has no corresponding blob in the repository).

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
Documentation/bup-restore.md
cmd/restore-cmd.py
lib/bup/t/tvfs.py
lib/bup/vfs.py
t/test-ftp
t/test-ls