Date: Sat, 20 Sep 2003 08:21:07 +0200 From: Adrian Steinmann <ast@marabu.ch> To: Don Lewis <truckman@FreeBSD.org> Cc: freebsd-stable@FreeBSD.org Subject: Re: Help running 'make release' w/ r/o CVSROOT Message-ID: <200309200621.IAA17622@marabu.marabu.ch> In-Reply-To: <200309191648.h8JGmDjS034014@gw.catspoiler.org> References: <200309191648.h8JGmDjS034014@gw.catspoiler.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Don Lewis <truckman@FreeBSD.org> replied to Dag-Erling Smorgrav, who wrote: > "Scott R. Sewall" <sewall@ix.netcom.com> writes: >> cd /usr/release/usr && rm -rf src && cvs -R -d /home/ncvs co -P -r >> RELENG_4 src >> My CVS repository does not have the file val-tags. I also don't see >> this file on the web interface >> to the CVS repository at freebsd.org. How is this file created? > It is created by cvs and updated every time you use a tag with -r or > -j which isn't already listed in val-tags. It's a major PITA, but you > can fairly easily disable it by adding a return statement right after > the syntax checks in tag_check_valid() (i.e. somewhere around line > 1212) in src/contrib/cvs/src/tag.c. In this particular case, creating the val-tags file with the following contents should make cvs happy again: RELENG_4 y or, applying this patch to usr/src/contrib/cvs/src/tag.c mentioned in http://www.freebsd.org/cgi/query-pr.cgi?pr=42726 RCS file: /usr/cvs/src/contrib/cvs/src/tag.c,v retrieving revision 1.1.1.6.2.5 diff -u -r1.1.1.6.2.5 tag.c --- usr/src/contrib/cvs/src/tag.c 21 Jan 2003 22:26:46 -0000 1.1.1.6.2.5 +++ usr/src/contrib/cvs/src/tag.c 5 Sep 2003 06:48:28 -0000 @@ -1300,7 +1300,7 @@ /* The tags is valid but not mentioned in val-tags. Add it. */ datum value; - if (noexec || nowrite) + if (noexec || nowrite || readonlyfs) { if (db != NULL) dbm_close (db); which makes the cvs -R option *really* readonly, even when val-tags is missing. Adrian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309200621.IAA17622>