On 10/7/07, Wayne Davison <[EMAIL PROTECTED]> wrote:
> This was a simple problem with the code that was trying to skip implied
> directories failing to check if the relative flag was set. The latest
> CVS version has this fixed.
That "fix" misses the point. If I pass --relative --no-implied-dirs,
the subdirectories disappear again:
$ rm -r *
$ mkdir src
$ rsync-dev --rsync-path='rsync-2.6.9' --list-only
localhost:`pwd`/
drwx------ 72 2007/10/07 01:15:41 .
drwx------ 48 2007/10/07 01:15:41 src
$ rsync-dev --rsync-path='rsync-2.6.9' --list-only --relative
--no-implied-dirs localhost:`pwd`/
drwx------ 72 2007/10/07 01:15:41 home/matt/test/dirs-breakage
IIUC, src/ is not an "implied dir" and thus should be listed in the
last case. Rsync 2.6.9 gets this right:
$ rsync-2.6.9 --rsync-path='rsync-2.6.9' --list-only --relative
--no-implied-dirs localhost:`pwd`/
drwx------ 72 2007/10/07 01:15:41 home/matt/test/dirs-breakage
drwx------ 48 2007/10/07 01:15:41 home/matt/test/dirs-breakage/src
Matt
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html