rsync() translates delete=True wrongly

Bug #1656894 reported by Colin Watson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
codetree
Fix Released
Medium
Unassigned

Bug Description

codetree.fileutils.rsync translates delete=True into rsync -d. But the -d option to rsync doesn't mean delete:

        -d, --dirs transfer directories without recursing

This function should use the --delete option instead in that case, which will require a bit of arrangement since that option doesn't have a short variant and so can't be combined with the other short options in a single parameter.

Related branches

Jacek Nykis (jacekn)
Changed in codetree:
status: New → Triaged
importance: Undecided → Medium
Tom Haddon (mthaddon)
Changed in codetree:
status: Triaged → Fix Released
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.