Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Mar 2002 14:50:39 +0100 (CET)
From:      BOUWSMA Beery <freebsd-user@netscum.dyndns.dk>
To:        freebsd-bugs@freebsd.org
Subject:   Read-only `cvs' checkout with specified tag seems b0rken?
Message-ID:  <200203281350.g2SDodU01010@beerswilling.netscum.dyndns.dk>

next in thread | raw e-mail | index | archive | help
[replies sent directly to me may timeout and bounce, since I'm not
 online as often as I should be, but I'll check the list archives]


Moin, moin!

It sure looks to me that even when I specify the `-R' read-only
repository option to `cvs', it still wants to write into the
(read-only) repository, so long as I've specified a `-r tag' ...

A checkout without the `-r tag' runs happily.  (Tested on -stable,
didn't try -current)


FWIW, I'm now in NetBSD, where the `-r tag' command is working
to give me the repository, though with the NetBSD `-u' option to
`cvs' that's supposed to be comparable to FreeBSD's `-R' option.
And yes, the CVSR00T directory is also mounted read-only.

The NetBSD source uses `nolock' set by `-u' that can be found in
several more source files (such as tag.c) than the `readonlyfs'
of FreeBSD that only shows in main.c and lock.c, in the src
directory, if that helps.


voila:

bash-2.05a$ time cvs  -d /mnt/cvsup/XFree86.cvs  -R  co -r xf-3_3-branch xc

cvs [checkout aborted]: cannot write /mnt/cvsup/XFree86.cvs/CVSROOT/val-tags: Re
ad-only file system
real    5m54.998s
user    1m14.553s
sys     0m58.791s

bash-2.05a$ time cvs -R -d /mnt/cvsup/XFree86.cvs  co  xc
cvs checkout: Updating xc
U xc/INSTALL.PS
U xc/INSTALL.TXT
[..]


thanks
barry bouwsma


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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