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: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
QAContact: [EMAIL PROTECTED]
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.
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html