Bug 3432 - rsync -azv --cvs-exclude forgets "LocalSettings.php"
Summary: rsync -azv --cvs-exclude forgets "LocalSettings.php"
Status: CLOSED INVALID
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 2.6.6
Hardware: x86 Linux
: P3 major (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
URL: http://pto.linux.dk/albackup.tgz
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-21 14:01 UTC by Peter Toft
Modified: 2006-03-12 02:56 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Toft 2006-01-21 14:01:39 UTC
Download http://pto.linux.dk/albackup.tgz
# unpack with; 
$ tar xvzf albackup.tgz
# Use rsync 2.6.6 (or earlier versions); 
$ rsync -azv --cvs-exclude mediawiki-1.5.3 newdir
# Note that newdir/mediawiki-1.5.3/ does *not* contain LocalSettings.php
# This is an error if I read the default_cvsignore array of rsync-2.6.6/exclude.c correctly.
Comment 1 Matt McCutchen 2006-01-21 14:26:51 UTC
--cvs-ignore ignores both that laundry list in exclude.c and any additional files specified in per-directory .cvsignore files.  I downloaded the package you linked and found that the MediaWiki people listed LocalSettings.php in .cvsignore, so rsync's behavior is correct.  A "sufficiently empowered user" should resolve this bug invalid--why does Bugzilla let me click on things I'm not allowed to actually do?
Comment 2 Peter Toft 2006-01-21 14:33:51 UTC
Matt has the solution - the mediawiki guys has entered the missing files into .cvsignore, which rsync correctly parses and thus ignores LocalSettings.php.
Nasty problem, but this is not an error in rsync!