[Bug 10522] New: --detect-renamed patch is causing deletions as if a 'delete flag' was supplied, when none have been

samba-bugs at samba.org samba-bugs at samba.org
Fri Mar 28 12:41:40 MDT 2014


https://bugzilla.samba.org/show_bug.cgi?id=10522

           Summary: --detect-renamed patch is causing deletions as if a
                    'delete flag' was supplied, when none have been
           Product: rsync
           Version: 3.1.1
          Platform: x86
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: haqthat at gmail.com
         QAContact: rsync-qa at samba.org


Scenario:

Files are being deleted, even though no 'delete' flags are given.

Patch rsync 3.1.1pre1 with detect-renamed patch
configure
make

mkdir /tmp/test1
mkdir /tmp/test2
touch /tmp/test1/a
touch /tmp/test1/b
touch /tmp/test1/c
touch /tmp/test2/a
touch /tmp/test2/x
touch /tmp/test2/y
touch /tmp/test2/z

rsync -rvzhtSin /tmp/test1/ /tmp/test2/

"building file list ... done
*deleting   z
*deleting   y
*deleting   x
.d..t...... ./
>f..t...... a
>f+++++++++ b
>f+++++++++ c

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the rsync mailing list