non-recursive remote listing breakage in 3.0.0pre1
Matt McCutchen
hashproduct+rsync at gmail.com
Sun Oct 7 05:18:46 GMT 2007
On 10/7/07, Wayne Davison <wayned at samba.org> 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
More information about the rsync
mailing list