Commit e7401af4 authored by bescoto's avatar bescoto

Added warning I must have removed earlier


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@716 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent cc9cb5d8
......@@ -471,7 +471,9 @@ def Restore(src_rp, dest_rp, restore_as_of = None):
mirror file), dest_rp should be the target rp to be written.
"""
if not restore_root_set: assert restore_set_root(src_rp)
if not restore_root_set and not restore_set_root(src_rp):
Log.FatalError("Could not find rdiff-backup repository at "
+ src_rp.path)
restore_check_paths(src_rp, dest_rp, restore_as_of)
dest_rp.conn.fs_abilities.restore_set_globals(dest_rp)
init_user_group_mapping(dest_rp.conn)
......
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