summaryrefslogtreecommitdiff
path: root/rdiff-backup/src/restore.py
diff options
context:
space:
mode:
authorben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2002-08-18 17:43:20 +0000
committerben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2002-08-18 17:43:20 +0000
commit138291d78ab8fbf63f3a5a299afcc186641e45ba (patch)
treea2ff44dca2f714422eece5d7f58921cb28057694 /rdiff-backup/src/restore.py
parent5165ed8454768cae04330ac3b060f66b6595a17d (diff)
downloadrdiff-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/src/restore.py')
-rw-r--r--rdiff-backup/src/restore.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/rdiff-backup/src/restore.py b/rdiff-backup/src/restore.py
index 4d57b4d..432f9cc 100644
--- a/rdiff-backup/src/restore.py
+++ b/rdiff-backup/src/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: