diff options
-rw-r--r-- | rdiff-backup/CHANGELOG | 2 | ||||
-rw-r--r-- | rdiff-backup/rdiff_backup/Main.py | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/rdiff-backup/CHANGELOG b/rdiff-backup/CHANGELOG index 6ed2ede..9c8c6fe 100644 --- a/rdiff-backup/CHANGELOG +++ b/rdiff-backup/CHANGELOG @@ -1,6 +1,8 @@ New in v1.1.12 (????/??/??) --------------------------- +Make --check-destination-dir handle quoted situations. (Andrew Ferguson) + Handle quoted current_mirror markers and clean-up the listing of increments with quoted names. (Andrew Ferguson) diff --git a/rdiff-backup/rdiff_backup/Main.py b/rdiff-backup/rdiff_backup/Main.py index 50efbcf..a363aa5 100644 --- a/rdiff-backup/rdiff_backup/Main.py +++ b/rdiff-backup/rdiff_backup/Main.py @@ -773,11 +773,7 @@ def Verify(dest_rp, verify_time = None): def CheckDest(dest_rp): """Check the destination directory, """ - if Globals.chars_to_quote: - dest_rp = FilenameMapping.get_quotedrpath(dest_rp) - if Globals.rbdir is None: - SetConnections.UpdateGlobal('rbdir', - dest_rp.append_path("rdiff-backup-data")) + dest_rp = require_root_set(dest_rp, 0) need_check = checkdest_need_check(dest_rp) if need_check is None: Log.FatalError("No destination dir found at %s" % (dest_rp.path,)) |