diff options
author | ben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-08-18 17:43:20 +0000 |
---|---|---|
committer | ben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-08-18 17:43:20 +0000 |
commit | 138291d78ab8fbf63f3a5a299afcc186641e45ba (patch) | |
tree | a2ff44dca2f714422eece5d7f58921cb28057694 /rdiff-backup/rdiff_backup/restore.py | |
parent | 5165ed8454768cae04330ac3b060f66b6595a17d (diff) | |
download | rdiff-backup-138291d78ab8fbf63f3a5a299afcc186641e45ba.tar.gz |
Fixed the remote destination restore and no increment restore bugs.
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@184 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/rdiff_backup/restore.py')
-rw-r--r-- | rdiff-backup/rdiff_backup/restore.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rdiff-backup/rdiff_backup/restore.py b/rdiff-backup/rdiff_backup/restore.py index 4d57b4d..432f9cc 100644 --- a/rdiff-backup/rdiff_backup/restore.py +++ b/rdiff-backup/rdiff_backup/restore.py @@ -79,6 +79,7 @@ class Restore: """Returns increments with given base""" dirname, basename = inc_rpath.dirsplit() parent_dir = RPath(inc_rpath.conn, dirname, ()) + if not parent_dir.isdir(): return [] # inc directory not created yet index = inc_rpath.index if index: |