DO NOT REPLY [Bug 5199] New: Exclusion of source arg ancestor short-circuits recursion

samba-bugs at samba.org samba-bugs at samba.org
Mon Jan 14 21:23:31 GMT 2008


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

           Summary: Exclusion of source arg ancestor short-circuits
                    recursion
           Product: rsync
           Version: 3.0.0
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: matt at mattmccutchen.net
         QAContact: rsync-qa at samba.org


I originally reported this bug here:

http://lists.samba.org/archive/rsync/2007-October/019006.html

In incremental recursion mode, the exclusion of an ancestor dir of a source
argument incorrectly short-circuits the traversal of the source argument, even
with --no-implied-dirs.  I expect rsync to omit the ancestor dir from the
file-list (moot with --no-implied-dirs) but traverse the source argument
regardless, as rsync 2.6.9 does.

To reproduce:

$ mkdir src src/D
$ rsync -ni -rR --exclude='/src' src/D/ dest/
(No output)
$ rsync -ni -rR --no-implied-dirs --exclude='/src' src/D/ dest/
(Still no output)
$ rsync-2.6.9 -ni -rR --exclude='/src' src/D/ dest/
cd+++++++ src/D/


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


More information about the rsync mailing list