[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Rdiff-backup-commits] Changes to rdiff-backup/rdiff_backup/rpath.py
From: |
dean gaudet |
Subject: |
[Rdiff-backup-commits] Changes to rdiff-backup/rdiff_backup/rpath.py |
Date: |
Sun, 19 Jun 2005 15:47:57 -0400 |
Index: rdiff-backup/rdiff_backup/rpath.py
diff -u rdiff-backup/rdiff_backup/rpath.py:1.75
rdiff-backup/rdiff_backup/rpath.py:1.76
--- rdiff-backup/rdiff_backup/rpath.py:1.75 Wed Apr 6 05:15:51 2005
+++ rdiff-backup/rdiff_backup/rpath.py Sun Jun 19 19:47:56 2005
@@ -197,12 +197,13 @@
if Globals.change_ownership and rp1.getuidgid() != rp2.getuidgid():
result = None
elif rp1.getperms() != rp2.getperms(): result = None
- elif rp1.getctime() != rp2.getctime(): result = None
elif rp1.issym() and rp2.issym(): # Don't check times for some types
result = 1
elif rp1.isblkdev() and rp2.isblkdev(): result = 1
elif rp1.ischardev() and rp2.ischardev(): result = 1
- else: result = (rp1.getmtime() == rp2.getmtime())
+ else:
+ result = ((rp1.getctime() == rp2.getctime()) and
+ (rp1.getmtime() == rp2.getmtime()))
log.Log("Compare attribs of %s and %s: %s" %
(rp1.get_indexpath(), rp2.get_indexpath(), result), 7)
return result
- [Rdiff-backup-commits] Changes to rdiff-backup/rdiff_backup/rpath.py,
dean gaudet <=