Merge lp:~mterry/duplicity/ropath.index into lp:duplicity/0.6
Status: | Merged |
---|---|
Merged at revision: | 869 |
Proposed branch: | lp:~mterry/duplicity/ropath.index |
Merge into: | lp:duplicity/0.6 |
Diff against target: |
364 lines (+131/-70) 4 files modified
bin/duplicity (+2/-1) duplicity/diffdir.py (+4/-2) duplicity/dup_temp.py (+5/-2) testing/tests/restarttest.py (+120/-65) |
To merge this branch: | bzr merge lp:~mterry/duplicity/ropath.index |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
duplicity-team | Pending | ||
Review via email: mp+127007@code.launchpad.net |
Description of the change
This branch does two main things:
1) Skips base dir entries when compiling the list of deleted delta iters. (this gracefully recovers from the sort of situations that lead to bug 929067). I'm reasonably confident this is an uninvasive change, but please confirm.
2) Overwrites the sigtar file on backup-restart. This is because AFAICT, duplicity will rewrite the entire sigtar each restart. But we were opening the sigtar file as "ab", so we'd just dump the contents on top of the previous contents. Which was causing some confusion in bug 929067. If I'm wrong that we don't always rewrite the entire sigtar each time, this needs some rethink. Please also confirm that. :)
In addition, I add two tests for the above two changes and make some improvements elsewhere in the restarttest.py file while I was at it.