Help running 'make release' w/ r/o CVSROOT
Adrian Steinmann
ast at marabu.ch
Fri Sep 19 23:24:16 PDT 2003
Don Lewis <truckman at FreeBSD.org> replied to Dag-Erling Smorgrav, who wrote:
> "Scott R. Sewall" <sewall at 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
More information about the freebsd-stable
mailing list