Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Sep 2004 14:36:08 +0200
From:      "Karel J. Bosschaart" <karelj@kayjay.nl>
To:        questions@freebsd.org
Subject:   cvsup, SetAttrs, I've read the FAQ
Message-ID:  <20040908123608.GA8387@kayjay.xs4all.nl>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040908123608.GA8387>