From b82f43dafe1b785e8e13507ff50c47762748f362 Mon Sep 17 00:00:00 2001 From: bescoto Date: Tue, 25 Oct 2005 06:44:45 +0000 Subject: Berryman's hard linking AFS patch git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/branches/r1-0@658 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109 --- rdiff-backup/CHANGELOG | 2 ++ rdiff-backup/rdiff_backup/fs_abilities.py | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/rdiff-backup/CHANGELOG b/rdiff-backup/CHANGELOG index 63fd5d3..476c155 100644 --- a/rdiff-backup/CHANGELOG +++ b/rdiff-backup/CHANGELOG @@ -3,6 +3,8 @@ New in v1.0.3 (????/??/??) 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.0.2 (2005/10/24) -------------------------- diff --git a/rdiff-backup/rdiff_backup/fs_abilities.py b/rdiff-backup/rdiff_backup/fs_abilities.py index e2285e7..3248b19 100644 --- a/rdiff-backup/rdiff_backup/fs_abilities.py +++ b/rdiff-backup/rdiff_backup/fs_abilities.py @@ -200,7 +200,9 @@ rdiff-backup-data/chars_to_quote. 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) -- cgit v1.2.1