summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorowsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2009-03-02 17:25:54 +0000
committerowsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2009-03-02 17:25:54 +0000
commit6c4fd0c8cf685bc2860d5033e80d7f2271f2f8a3 (patch)
treef27cc696bdbd6b0020914be96bcb85441010767b
parent770623d3bb5a9cd51b334134fa253e11885a297a (diff)
downloadrdiff-backup-6c4fd0c8cf685bc2860d5033e80d7f2271f2f8a3.tar.gz
Use the correct method to update globals
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/branches/r1-2@1025 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
-rw-r--r--rdiff-backup/CHANGELOG2
-rw-r--r--rdiff-backup/rdiff_backup/fs_abilities.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/rdiff-backup/CHANGELOG b/rdiff-backup/CHANGELOG
index 8752b56..2efe209 100644
--- a/rdiff-backup/CHANGELOG
+++ b/rdiff-backup/CHANGELOG
@@ -1,6 +1,8 @@
New in v1.2.7 (????/??/??)
---------------------------
+Properly disable hardlinks by default on Windows.
+
Fix Python 2.2 compatibility. Closes Savannah bug #25529. (Andrew Ferguson)
Fix typo which caused failure when checking if another rdiff-backup process is
diff --git a/rdiff-backup/rdiff_backup/fs_abilities.py b/rdiff-backup/rdiff_backup/fs_abilities.py
index 12e2632..cd3fbd6 100644
--- a/rdiff-backup/rdiff_backup/fs_abilities.py
+++ b/rdiff-backup/rdiff_backup/fs_abilities.py
@@ -605,7 +605,7 @@ def get_readonly_fsa(desc_string, rp):
if os.name == 'nt' and (desc_string == 'source' or
desc_string == 'rdiff-backup repository'):
log.Log("Hardlinks disabled by default on Windows", 4)
- Globals.set('preserve_hardlinks', 0)
+ SetConnections.UpdateGlobal('preserve_hardlinks', 0)
return FSAbilities(desc_string).init_readonly(rp)
class SetGlobals: