summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rdiff-backup/CHANGELOG5
-rw-r--r--rdiff-backup/rdiff_backup/longname.py2
2 files changed, 6 insertions, 1 deletions
diff --git a/rdiff-backup/CHANGELOG b/rdiff-backup/CHANGELOG
index 3673e88..b458a43 100644
--- a/rdiff-backup/CHANGELOG
+++ b/rdiff-backup/CHANGELOG
@@ -1,6 +1,9 @@
-New in v1.3.1 (????/??/??)
+New in v1.3.1 (2009/01/27)
---------------------------
+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