summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorowsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2007-07-07 19:58:37 +0000
committerowsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2007-07-07 19:58:37 +0000
commitca61c5fad0f30702b0a43fb34d3b4afd41fc5e54 (patch)
treee4b71e39faeb695a0e05c36a47cca8272d5df0aa
parentf2708f0d147aca69ded55c50f85fa20386fb6c0c (diff)
downloadrdiff-backup-ca61c5fad0f30702b0a43fb34d3b4afd41fc5e54.tar.gz
Make --check-destination-dir handle quoted situations.
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@812 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
-rw-r--r--rdiff-backup/CHANGELOG2
-rw-r--r--rdiff-backup/rdiff_backup/Main.py6
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,))