On Sun, Feb 08, 2004 at 04:21:01AM +0100, Christoph Schindler wrote: > [EMAIL PROTECTED]:/var/tmp$ rsync -Can from/ to/ > The files that are not copied over to to/ are chosen at random, it > seems, altough there are several patterns to be seen:
This is a bug that slipped into 2.6.0 that is fixed in the current CVS source -- namely that the local excludes from a subdirectory are put into the global exclude list rather than the local one that would only affect that one subdir. There's a single line that changed in flist.c: --- flist.c 13 Jan 2004 06:27:30 -0000 1.164 +++ flist.c 17 Jan 2004 01:16:49 -0000 1.165 @@ -942,7 +942,7 @@ static void send_directory(int f, struct if (cvs_exclude) { if (strlen(fname) + strlen(".cvsignore") <= MAXPATHLEN - 1) { strcpy(p, ".cvsignore"); - add_exclude_file(&exclude_list,fname,MISSING_OK,ADD_EXCLUDE); + add_exclude_file(&local_exclude_list,fname,MISSING_OK,ADD_EXCLUDE); } else { io_error |= IOERR_GENERAL; rprintf(FINFO, ..wayne.. -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html