Commit 162e440e authored by bescoto's avatar bescoto

Fixed bug restoring without mirror_metadata


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@455 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent eacfbbb5
New in v0.12.5 (??????????) New in v0.12.5 (2003/09/27)
--------------------------- ---------------------------
Fixed bug in --test-server when using --restrict security options Fixed bug in --test-server when using --restrict security options
...@@ -10,6 +10,9 @@ Thanks to Morten Werner Olsen for bug report. ...@@ -10,6 +10,9 @@ Thanks to Morten Werner Olsen for bug report.
Fixed logic bug that could make restoring extremely slow and waste Fixed logic bug that could make restoring extremely slow and waste
memory. Thanks for Jacques Botha for report. 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) New in v0.12.4 (2003/09/13)
--------------------------- ---------------------------
......
...@@ -185,7 +185,9 @@ class MirrorStruct: ...@@ -185,7 +185,9 @@ class MirrorStruct:
rorp = rf.get_attribs() rorp = rf.get_attribs()
yield rorp yield rorp
if rorp.isdir(): 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): def subtract_indicies(cls, index, rorp_iter):
"""Subtract index from index of each rorp in rorp_iter """Subtract index from index of each rorp in rorp_iter
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment