2795
2795
# something is wrong, so lets determine what exactly
2796
2796
if not self.has_filename(from_rel) and \
2797
2797
not self.has_filename(to_rel):
2802
2801
raise errors.RenameFailedFilesExist(from_rel, to_rel)
2803
2802
rename_entry.only_change_inv = only_change_inv