Commit 25e88f03 authored by bescoto's avatar bescoto

Berryman's hard linking AFS patch


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@658 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent 356c77e0
...@@ -3,6 +3,8 @@ New in v1.0.3 (????/??/??) ...@@ -3,6 +3,8 @@ New in v1.0.3 (????/??/??)
Applied Alec Berryman's patch to update the no-compression regexp. 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) New in v1.0.2 (2005/10/24)
-------------------------- --------------------------
......
...@@ -200,7 +200,9 @@ rdiff-backup-data/chars_to_quote. ...@@ -200,7 +200,9 @@ rdiff-backup-data/chars_to_quote.
def set_hardlinks(self, testdir): def set_hardlinks(self, testdir):
"""Set self.hardlinks to true iff hard linked files can be made""" """Set self.hardlinks to true iff hard linked files can be made"""
hl_source = testdir.append("hardlinked_file1") 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() hl_source.touch()
try: try:
hl_dest.hardlink(hl_source.path) hl_dest.hardlink(hl_source.path)
......
...@@ -3,6 +3,8 @@ New in v1.1.1 (????/??/??) ...@@ -3,6 +3,8 @@ New in v1.1.1 (????/??/??)
Applied Alec Berryman's patch to update the no-compression regexp. 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) New in v1.1.0 (2005/10/24)
-------------------------- --------------------------
......
...@@ -164,7 +164,9 @@ class FSAbilities: ...@@ -164,7 +164,9 @@ class FSAbilities:
def set_hardlinks(self, testdir): def set_hardlinks(self, testdir):
"""Set self.hardlinks to true iff hard linked files can be made""" """Set self.hardlinks to true iff hard linked files can be made"""
hl_source = testdir.append("hardlinked_file1") 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() hl_source.touch()
try: try:
hl_dest.hardlink(hl_source.path) hl_dest.hardlink(hl_source.path)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment