migrating tar restore to use the same code as index restore
authorEduardo Robles Elvira <edulix@wadobo.com>
Sat, 28 Sep 2013 10:29:30 +0000 (12:29 +0200)
committerEduardo Robles Elvira <edulix@wadobo.com>
Sat, 28 Sep 2013 10:34:44 +0000 (12:34 +0200)
commitec57ce530ced46bc30beb4a889bc400d6a8145b8
tree3d99380e4c1b9ddf3bb02f3248df41e4f714f3d1
parent24ddf0a26e7b19cc2de3220b243d7ba067ed19d2
migrating tar restore to use the same code as index restore

previous commit was a mess because it mixed two commits, my fault.
it mixed both the mtime directories fix and the generalization of
tar restore with index restore.

this commit continues the work towards this generalization, fixing
the TarPathIterator (which was just not tested), doing the removed
os.chdir in restore_backup (which resulted in cwd data loss when
running the tests), fixing also the indentation at the end of the
restore_backup function, and setting correctly the
new_volume_handler in RestoreHelper when restoring from a tarball.

However, there are still some unit tests related to multivolume
handling that still fail.
deltatar/deltatar.py