rectify delayed symlink restoration
authorPhilipp Gesang <philipp.gesang@intra2net.com>
Fri, 4 Nov 2016 14:32:13 +0000 (15:32 +0100)
committerPhilipp Gesang <philipp.gesang@intra2net.com>
Fri, 4 Nov 2016 14:32:17 +0000 (15:32 +0100)
commit83f5fd712f1f94471b9845d8a6ae76954715cc8a
treeaf7b383e3c2a3b50eece58c7b880bda11fb7ba32
parentf5d9144ba9547e62e0f8bfdc042fdb646e441262
rectify delayed symlink restoration

Again, GNU tar serves as the model for safe behavior: We now
check whether the placeholder file exists and if it is indeed the
one we created earlier.

Since deltatar does not allow including symlinks in the backup,
the unit tests invoke tarfile functionality directly to add some
symlinks to an existing backup.
deltatar/deltatar.py
deltatar/tarfile.py
testing/test_deltatar.py