Detect renamed files and handle by renaming instead of delete/re-send

Bug #1353792 reported by Javier López
This bug affects 10 people
Affects Status Importance Assigned to Milestone
rsync (Ubuntu)

Bug Description

There has been a report in rsync[0] about this issue since 2005, some patches has been developed detect-renamed[1] and detect-renamed-lax[2] to target the issue, I think it would be great if Ubuntu could patch itself rsync to provide such feature.

I've updated those[3] patches[4] to apply to the latest rsync package (3.1.1) and they're working great in my own setup, I also put them in a ppa[5] for further testing. The patches aren't intrusive, they provide some extra flags (--detect-renamed, --detec-moved and --detect-renamed-lax) so I think it shouldn't be disastrous for those who won't use the extra features.


Robie Basak (racb)
Changed in rsync (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in rsync (Ubuntu):
status: New → Confirmed
Revision history for this message
Brian (thwaller) wrote :

I found this report while searching, but noticed it is quite old and appears to be unresolved. Am I correct in the assumption that this has not been done or integrated in rsync in any form(s) at this time?

Revision history for this message
Robie Basak (racb) wrote :

It looks like this bug has gathered quite a bit of attention since it was first filed, so let me set some expectations here.

The trouble with patching Ubuntu is that then we're on the hook for maintaining those patches indefinitely. This can cause a great deal of pain if future upstream refactorings mean that the patches need substantial rework, or if upstream decide to implement something very similar but with subtly different semantics.

I suggest that to make progress you petition upstream to get this feature landed upstream directly.

> Am I correct in the assumption that this has not been done or integrated in rsync in any form(s) at this time?

I've not looked, sorry. Someone will have to dig through sources and commit logs and/or release notes and manpages to determine that.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.