summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rdiff-backup/CHANGELOG3
-rw-r--r--rdiff-backup/rdiff_backup/longname.py2
2 files changed, 5 insertions, 0 deletions
diff --git a/rdiff-backup/CHANGELOG b/rdiff-backup/CHANGELOG
index 587bcf8..50d4826 100644
--- a/rdiff-backup/CHANGELOG
+++ b/rdiff-backup/CHANGELOG
@@ -1,6 +1,9 @@
New in v1.2.6 (????/??/??)
---------------------------
+Improve support for handling too long filenames under Windows. Too long
+directory names and paths are still a problem. (Andrew Ferguson)
+
Print more helpful error messages when the remote command cannot be started
on Windows. Thanks to Dominic for the bug report. (Andrew Ferguson)
diff --git a/rdiff-backup/rdiff_backup/longname.py b/rdiff-backup/rdiff_backup/longname.py
index 0cfcaf3..e8872ce 100644
--- a/rdiff-backup/rdiff_backup/longname.py
+++ b/rdiff-backup/rdiff_backup/longname.py
@@ -113,6 +113,8 @@ def check_new_index(base, index, make_dirs = 0):
if (errno.errorcode.has_key(exc[0]) and
errno.errorcode[exc[0]] == 'ENAMETOOLONG'):
return None
+ if (exc[1] == "The filename or extension is too long"):
+ return None
raise
return result