summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2003-09-28 01:39:38 +0000
committerbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2003-09-28 01:39:38 +0000
commit4d274a0bdb3d27b54b946de8f930e2acfd786dcf (patch)
tree7876571fe2238825a0a5091542828d095c4f0afa
parent10ab6a77101e19fce1142b4c74a889bf9aa97b08 (diff)
downloadrdiff-backup-4d274a0bdb3d27b54b946de8f930e2acfd786dcf.tar.gz
Fixed bug restoring without mirror_metadata
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/branches/r0-12@455 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
-rw-r--r--rdiff-backup/CHANGELOG5
-rw-r--r--rdiff-backup/rdiff_backup/restore.py4
2 files changed, 7 insertions, 2 deletions
diff --git a/rdiff-backup/CHANGELOG b/rdiff-backup/CHANGELOG
index 9d1cee8..3b3514a 100644
--- a/rdiff-backup/CHANGELOG
+++ b/rdiff-backup/CHANGELOG
@@ -1,4 +1,4 @@
-New in v0.12.5 (??????????)
+New in v0.12.5 (2003/09/27)
---------------------------
Fixed bug in --test-server when using --restrict security options
@@ -10,6 +10,9 @@ Thanks to Morten Werner Olsen for bug report.
Fixed logic bug that could make restoring extremely slow and waste
memory. Thanks for Jacques Botha for report.
+Fixed bug restoring some directories when mirror_metadata file was
+missing (as when made by 0.10.x version).
+
New in v0.12.4 (2003/09/13)
---------------------------
diff --git a/rdiff-backup/rdiff_backup/restore.py b/rdiff-backup/rdiff_backup/restore.py
index 31fa5a5..292aa42 100644
--- a/rdiff-backup/rdiff_backup/restore.py
+++ b/rdiff-backup/rdiff_backup/restore.py
@@ -185,7 +185,9 @@ class MirrorStruct:
rorp = rf.get_attribs()
yield rorp
if rorp.isdir():
- for sub_rf in rf.yield_sub_rfs(): yield sub_rf.get_attribs()
+ for sub_rf in rf.yield_sub_rfs():
+ for attribs in cls.get_rorp_iter_from_rf(sub_rf):
+ yield attribs
def subtract_indicies(cls, index, rorp_iter):
"""Subtract index from index of each rorp in rorp_iter