diff options
Diffstat (limited to 'rdiff-backup')
-rw-r--r-- | rdiff-backup/CHANGELOG | 3 | ||||
-rw-r--r-- | rdiff-backup/rdiff_backup/rpath.py | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/rdiff-backup/CHANGELOG b/rdiff-backup/CHANGELOG index 22fca75..1c885b1 100644 --- a/rdiff-backup/CHANGELOG +++ b/rdiff-backup/CHANGELOG @@ -1,6 +1,9 @@ New in v1.2.3 (????/??/??) --------------------------- +Print a more helpful error message if we cannot read the backup destination. +Closes Ubuntu bug #292586 (again). (Andrew Ferguson) + Print a more helpful error message if we cannot write to the backup destination. (Andrew Ferguson) diff --git a/rdiff-backup/rdiff_backup/rpath.py b/rdiff-backup/rdiff_backup/rpath.py index d657c1c..3655084 100644 --- a/rdiff-backup/rdiff_backup/rpath.py +++ b/rdiff-backup/rdiff_backup/rpath.py @@ -255,6 +255,8 @@ def rename(rp_source, rp_dest): try: rp_source.conn.os.rename(rp_source.path, rp_dest.path) except OSError, error: + # XXX errno.EINVAL and len(rp_dest.path) >= 260 indicates + # pathname too long on Windows if error.errno != errno.EEXIST: log.Log("OSError while renaming %s to %s" % (rp_source.path, rp_dest.path), 1) |