/[rdiff-backup]/rdiff-backup/rdiff_backup/fs_abilities.py
ViewVC logotype

Diff of /rdiff-backup/rdiff_backup/fs_abilities.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.19 by bescoto, Mon Oct 24 17:16:05 2005 UTC revision 1.20 by bescoto, Tue Oct 25 06:43:23 2005 UTC
# Line 164  class FSAbilities: Line 164  class FSAbilities:
164          def set_hardlinks(self, testdir):          def set_hardlinks(self, testdir):
165                  """Set self.hardlinks to true iff hard linked files can be made"""                  """Set self.hardlinks to true iff hard linked files can be made"""
166                  hl_source = testdir.append("hardlinked_file1")                  hl_source = testdir.append("hardlinked_file1")
167                  hl_dest = testdir.append("hardlinked_file2")                  hl_dir = testdir.append("hl")
168                    hl_dir.mkdir()
169                    hl_dest = hl_dir.append("hardlinked_file2")
170                  hl_source.touch()                  hl_source.touch()
171                  try:                  try:
172                          hl_dest.hardlink(hl_source.path)                          hl_dest.hardlink(hl_source.path)

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26