[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Rdiff-backup-commits] Changes to rdiff-backup/rdiff_backup/rorpiter.py
From: |
Ben Escoto |
Subject: |
[Rdiff-backup-commits] Changes to rdiff-backup/rdiff_backup/rorpiter.py |
Date: |
Wed, 17 Aug 2005 01:55:19 -0400 |
Index: rdiff-backup/rdiff_backup/rorpiter.py
diff -u rdiff-backup/rdiff_backup/rorpiter.py:1.26
rdiff-backup/rdiff_backup/rorpiter.py:1.27
--- rdiff-backup/rdiff_backup/rorpiter.py:1.26 Thu Jun 26 07:23:04 2003
+++ rdiff-backup/rdiff_backup/rorpiter.py Wed Aug 17 05:55:18 2005
@@ -184,6 +184,12 @@
for i in range(1, len(cur_index)): # i==0 case already
handled
if cur_index[:i] != old_index[:i]:
filler_rp =
rootrp.new_index(cur_index[:i])
+ if not filler_rp.isdir():
+ log.Log("Warning: expected %s
to be a directory but "
+ "found %s
instead.\nThis is probably caused "
+ "by a bug in
versions 1.0.0 and earlier." %
+
(filler_rp.path, filler_rp.lstat()), 2)
+ filler_rp.make_zero_dir(rootrp)
yield filler_rp
yield rp
old_index = cur_index
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Rdiff-backup-commits] Changes to rdiff-backup/rdiff_backup/rorpiter.py,
Ben Escoto <=