[Bug 2712] New: --cvs-exclude does not work as advertised: core directories

samba-bugs at samba.org samba-bugs at samba.org
Fri May 13 13:44:51 GMT 2005


https://bugzilla.samba.org/show_bug.cgi?id=2712

           Summary: --cvs-exclude does not work as advertised: core
                    directories
           Product: rsync
           Version: 2.6.3
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P3
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: danny-samba at sadinoff.com
         QAContact: rsync-qa at samba.org


--cvs-exclude claims to ingore files in the same way CVS does, but this isn't
quite the case.  

In particular, the code in exclude.c filters only on filename.  But CVS itself
is more particular, and differentiates between directories and files.  

For example, CVS is very willing to recurse into a directory named "a.a",
"yadda.old" or "core"

The workaround is to document this weakness, but the less surprising thing to do
would be to enhance exclude.c such that it could do the exclusion the way CVS
actually does it: do most of the exclusions on files only, but exclude both
files and directories named CVS.

-- 
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.


More information about the rsync mailing list