incorrect exclude list with -C
paul at debian.org
Wed Mar 24 12:12:25 GMT 2004
I just received this bug report on Debian's rsync package.
I've verified it. The entry from the manpage:
Finally, any file is ignored if it is in the same directory as a
.cvsignore file and matches one of the patterns listed therein.
Here the patterns of a .cvsignore file is apparently used to exclude
file outside the directory where the .cvsignore file is found.
On Wed 24 Mar 2004, Frank Mehnert wrote:
> Subject: Bug#239791: rsync: incorrect exclude list with -C
> From: Frank Mehnert <fm3 at os.inf.tu-dresden.de>
> Date: Wed, 24 Mar 2004 11:55:16 +0100
> Package: rsync
> Version: 2.6.0-2
> The current version of rsync determines an incorrect exclude list when
> using the -C command line switch. The following example illustrates the
> problem. Consider you have the following directory structure:
> dir bar/ contains
> dir bar/a1 contains
> dir bar/a2 contains
> The file bar/a1/.cvsignore contains
> The output of
> rsync -aRCvv bar backup
> building file list ...
> expand file_list to 4000 bytes, did move
> excluding file bar/a2/zz.foo because of pattern *.foo
> created directory backup
> delta-transmission disabled for local transfer or --whole-file
> total: matches=0 tag_hits=0 false_alarms=0 data=6
> wrote 170 bytes read 40 bytes 420.00 bytes/sec
> total size is 6 speedup is 0.03
> The file bar/a2/zz.foo is NOT backed up. Rsync uses the wildcard *.foo
> found in bar/a1 to deceide that bar/a2/zz.foo should not be backed up!
> And yes, my ~/.cvsignore is empty.
More information about the rsync