summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2005-10-25 06:44:45 +0000
committerbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2005-10-25 06:44:45 +0000
commite45477d9b5f0e1aa8ffdb9f5853abcd979f08a3a (patch)
tree35d01d9cc6677972d5d85f56ef588058c4baf99d
parentf1b52b28ced38c2560e6682f2851e3db6e101945 (diff)
downloadrdiff-backup-e45477d9b5f0e1aa8ffdb9f5853abcd979f08a3a.tar.gz
Berryman's hard linking AFS patch
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@658 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
-rw-r--r--rdiff-backup/CHANGELOG2
-rw-r--r--rdiff-backup/rdiff_backup/fs_abilities.py4
2 files changed, 5 insertions, 1 deletions
diff --git a/rdiff-backup/CHANGELOG b/rdiff-backup/CHANGELOG
index 62a3e95..f32f156 100644
--- a/rdiff-backup/CHANGELOG
+++ b/rdiff-backup/CHANGELOG
@@ -3,6 +3,8 @@ New in v1.1.1 (????/??/??)
Applied Alec Berryman's patch to update the no-compression regexp.
+Alec Berryman's fs_abilities patch is supposed to help with AFS.
+
New in v1.1.0 (2005/10/24)
--------------------------
diff --git a/rdiff-backup/rdiff_backup/fs_abilities.py b/rdiff-backup/rdiff_backup/fs_abilities.py
index 19c2d98..a94e5e4 100644
--- a/rdiff-backup/rdiff_backup/fs_abilities.py
+++ b/rdiff-backup/rdiff_backup/fs_abilities.py
@@ -164,7 +164,9 @@ class FSAbilities:
def set_hardlinks(self, testdir):
"""Set self.hardlinks to true iff hard linked files can be made"""
hl_source = testdir.append("hardlinked_file1")
- hl_dest = testdir.append("hardlinked_file2")
+ hl_dir = testdir.append("hl")
+ hl_dir.mkdir()
+ hl_dest = hl_dir.append("hardlinked_file2")
hl_source.touch()
try:
hl_dest.hardlink(hl_source.path)