[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Rdiff-backup-commits] Changes to rdiff-backup/rdiff_backup/fs_abilities
From: |
Ben Escoto |
Subject: |
[Rdiff-backup-commits] Changes to rdiff-backup/rdiff_backup/fs_abilities.py [r1-0] |
Date: |
Tue, 25 Oct 2005 02:44:45 -0400 |
Index: rdiff-backup/rdiff_backup/fs_abilities.py
diff -u rdiff-backup/rdiff_backup/fs_abilities.py:1.16.2.1
rdiff-backup/rdiff_backup/fs_abilities.py:1.16.2.2
--- rdiff-backup/rdiff_backup/fs_abilities.py:1.16.2.1 Thu Oct 20 20:43:50 2005
+++ rdiff-backup/rdiff_backup/fs_abilities.py Tue Oct 25 06:44:45 2005
@@ -200,7 +200,9 @@
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)