Comment 0 for bug 253319

Revision history for this message
ceg (ceg) wrote : rename files instead of deleting and copying again.

Binary package hint: unison

When files gets renamed in replica A, unison shows that the original file is getting deleted in replica B and the renamed file is copied again.

This is particulary unfortunate with picture archives, as they get more often renamed but less often is the file contents changed.

Can't unison queue the cases that look like filedeletions, and at the end, check if they have not just been renamed? And if that is true, just rename the file in the other replica without retransmitting all the files?

Maybe this mechanism could also catch the programmed data loss mentioned under invariants in the documentation (moving a directory with ignored items).