rdiff-backup-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Rdiff-backup-commits] rdiff-backup CHANGELOG rdiff_backup/fs_abilitie..


From: Andrew Ferguson
Subject: [Rdiff-backup-commits] rdiff-backup CHANGELOG rdiff_backup/fs_abilitie...
Date: Wed, 02 Jan 2008 01:53:22 +0000

CVSROOT:        /sources/rdiff-backup
Module name:    rdiff-backup
Changes by:     Andrew Ferguson <owsla> 08/01/02 01:53:22

Modified files:
        .              : CHANGELOG 
        rdiff_backup   : fs_abilities.py 

Log message:
        Don't print the warning about hard links if the user has specified the
        --no-hard-links option.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/rdiff-backup/CHANGELOG?cvsroot=rdiff-backup&r1=1.251&r2=1.252
http://cvs.savannah.gnu.org/viewcvs/rdiff-backup/rdiff_backup/fs_abilities.py?cvsroot=rdiff-backup&r1=1.41&r2=1.42

Patches:
Index: CHANGELOG
===================================================================
RCS file: /sources/rdiff-backup/rdiff-backup/CHANGELOG,v
retrieving revision 1.251
retrieving revision 1.252
diff -u -b -r1.251 -r1.252
--- CHANGELOG   25 Dec 2007 03:45:13 -0000      1.251
+++ CHANGELOG   2 Jan 2008 01:53:22 -0000       1.252
@@ -1,6 +1,9 @@
 New in v1.1.15 (????/??/??)
 ---------------------------
 
+Don't print the warning message about unsupported hard links if the user
+has specified the --no-hard-links option. (Suggested by Andreas Olsson)
+
 Print a more helpful error message when we get a "Result too large"
 error when trying to copy a file. (Andrew Ferguson)
 

Index: rdiff_backup/fs_abilities.py
===================================================================
RCS file: /sources/rdiff-backup/rdiff-backup/rdiff_backup/fs_abilities.py,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -b -r1.41 -r1.42
--- rdiff_backup/fs_abilities.py        25 Dec 2007 01:42:53 -0000      1.41
+++ rdiff_backup/fs_abilities.py        2 Jan 2008 01:53:22 -0000       1.42
@@ -185,6 +185,7 @@
                        if hl_source.getinode() != hl_dest.getinode():
                                raise IOError(errno.EOPNOTSUPP, "Hard links 
don't compare")
                except (IOError, OSError):
+                       if Globals.preserve_hardlinks != 0:
                        log.Log("Warning: hard linking not supported by 
filesystem "
                                        "at %s" % (self.root_rp.path,), 3)
                        self.hardlinks = 0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]