How about a "grep -v SetAttr" ?

Karel J. Bosschaart wrote:

Hi,

I would like to get rid of the 'SetAttrs' lines in the cvsup logs.
Of course I found the FAQ at http://www.cvsup.org/faq.html#setattrs ;
I have umask=2 defined in my supfile, always run as root and after removing the checkout files, these files are rebuilt and all is fine. Only for one time though: running cvsup a second time will show 'SetAttrs' on the files that were updated in the previous run. See example of two cvsup runs:


First run:

kayjay# cvsup cvs-supfile
Connected to cvsup2.nl.FreeBSD.org
Updating collection src-all/cvs
Edit src/sys/fs/msdosfs/msdosfs_fat.c,v
Edit src/sys/fs/msdosfs/msdosfs_lookup.c,v
Updating collection cvsroot-all/cvs
Append to CVSROOT-doc/commitlogs/doc
SetAttrs CVSROOT-src/commitlogs/lib
SetAttrs CVSROOT-src/commitlogs/sbin
SetAttrs CVSROOT-src/commitlogs/share
Append to CVSROOT-src/commitlogs/sys
Updating collection ports-all/cvs
Updating collection doc-all/cvs
Edit doc/en_US.ISO8859-1/books/handbook/mirrors/chapter.sgml,v
SetAttrs doc/en_US.ISO8859-1/slides/common/freebsd-users.xml,v
Edit doc/ru_RU.KOI8-R/books/handbook/printing/chapter.sgml,v
Finished successfully

Second run:

kayjay# cvsup cvs-supfile
Connected to cvsup2.nl.FreeBSD.org
Updating collection src-all/cvs
SetAttrs src/sys/fs/msdosfs/msdosfs_fat.c,v
SetAttrs src/sys/fs/msdosfs/msdosfs_lookup.c,v
Updating collection cvsroot-all/cvs
SetAttrs CVSROOT-doc/commitlogs/doc
SetAttrs CVSROOT-src/commitlogs/lib
SetAttrs CVSROOT-src/commitlogs/sbin
SetAttrs CVSROOT-src/commitlogs/share
SetAttrs CVSROOT-src/commitlogs/sys
Updating collection ports-all/cvs
Updating collection doc-all/cvs
SetAttrs doc/en_US.ISO8859-1/books/handbook/mirrors/chapter.sgml,v
SetAttrs doc/en_US.ISO8859-1/slides/common/freebsd-users.xml,v
SetAttrs doc/ru_RU.KOI8-R/books/handbook/printing/chapter.sgml,v
Finished successfully



Over time, the lines with 'SetAttrs' will grow in number. I'm thinking about removing the checkout files every time I run cvsup but that's not a very nice solution. I'm facing this problem for quite some time and after months of going through logs filled up with 'SetAttrs' I would like to solve it properly.

My supfile can be found at http://kayjay.nl/cvs-supfile if that's useful.

Thanks for any advice,
Karel.
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"



_______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to