cvsup and co/ci

LuKreme kremels at kreme.com
Wed Jun 11 11:06:41 PDT 2003


I grabbed the latest sources for freeBSD 5.1 using cvsup:

# cat supfile
*default host=cvsup.FreeBSD.org
*default prefix=/usr
*default base=/usr/local/etc/cvsup
*default release=cvs delete use-rel-suffix compress
ports-all tag=.
src-all

once this process completed, all the source files in the /usr/src/ tree 
are named:

# ls -ls *,v
  10 -r--r--r--  1 root  wheel    8935 Jun  4 07:42 COPYRIGHT,v
  28 -r--r--r--  1 root  wheel   26752 Jun 10 06:02 MAINTAINERS,v
272 -r--r--r--  1 root  wheel  261179 Jun  4 07:42 Makefile,v
320 -r--r--r--  1 root  wheel  309982 Jun  7 22:15 Makefile.inc1,v
  26 -r--r--r--  1 root  wheel   26270 Jun  4 07:42 README,v
304 -r--r--r--  1 root  wheel  283492 Jun 11 00:37 UPDATING,v

# find . | more
./bin/cat/Makefile,v
./bin/cat/cat.1,v
./bin/cat/cat.c,v
./bin/chflags/Makefile,v
./bin/chflags/chflags.1,v
./bin/chflags/chflags.c,v
&c. &c.

So, evidently I need to use co to check all those files in.  Fine.  I 
do that easily enough for the files at the /usr/src/ root.  But how do 
I get co to check out ALL the files in the tree without putting the new 
files in /usr/src?

find . | grep ,v | xargs co

simply dumped all the new files at the top level of the tree.

I am completely unfamiliar with ci/co and have never used them, nor do 
I know why the files I got where in ci format.  I check with a couple 
of people who have freeBSD 5.0 and 5.1 and they are as puzzled as I.

--
<Athene> we all have our moments when we lose it
<Slyspy> the key is though, to conceal the evidence before the police 
arrive



More information about the freebsd-questions mailing list