[Bug 8138] New: Per-dir merge files not reloaded properly when switching source args with --i-r

samba-bugs at samba.org samba-bugs at samba.org
Mon May 16 13:02:07 MDT 2011


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

           Summary: Per-dir merge files not reloaded properly when
                    switching source args with --i-r
           Product: rsync
           Version: 3.1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: matt at mattmccutchen.net
         QAContact: rsync-qa at samba.org


In incremental recursion mode, when rsync switches between dirs with the same
file-list path under different source args, it sometimes fails to reload all
the applicable per-dir merge files.

$ mkdir -p src1/dir/sub src2/dir
$ touch src1/dir/sub/excludeme
$ echo '- excludeme' >src1/dir/.rsync-filter

$ rsync -ni -r --filter=': .rsync-filter' src1/ src2/ dest/
cd+++++++++ ./
cd+++++++++ dir/
>f+++++++++ dir/.rsync-filter
cd+++++++++ dir/sub/
>f+++++++++ dir/sub/excludeme    # Should have been excluded

$ rsync --no-i-r -ni -r --filter=': .rsync-filter' src1/ src2/ dest/
cd+++++++++ ./
cd+++++++++ dir/
>f+++++++++ dir/.rsync-filter
cd+++++++++ dir/sub/

-- 
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