Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Feb 1997 21:33:17 -0600
From:      dkelly@hiwaay.net
To:        jdp@polstra.com (John Polstra)
Cc:        freebsd-hackers@freebsd.org
Subject:   Just CVS (was Re: CVS question, sendmail, named)
Message-ID:  <199702160333.VAA28629@nexgen.ampr.org>
In-Reply-To: Message from jdp@polstra.com (John Polstra)  of "14 Feb 1997 18:05:36 PST." <5e35lg$k3k@austin.polstra.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
John Polstra wrote:
>
> Joerg already answered this.  But it's a confusing topic, so I'm
> sure he won't mind if I give you more of a step-by-step answer.

I'm certainly confused.

> The first time you check out your tree (from scratch), do this:
> 
>     cd /usr
>     cvs co -P -r RELENG_2_2 src
> 
> Your whole tree is now at -2.2.  Now to switch your sendmail to
> the -current version:

Asked essentially the same question I'm going to ask again last week on -current but apparently didn't ask right because I didn't get a workable solution.

As a total CVS novice (who has a backup of his source tree) I attempted the above example and got complaints about lacking a CVSROOT.

	nexgen: {12} cd /usr
	nexgen: {13}  cvs co -P -r RELENG_2_2 src
	cvs: in directory .:
	cvs: must set the CVSROOT environment variable
	cvs: or specify the '-d' option to cvs.
	cvs [co aborted]: You don't have a CVSROOT environment variable
	nexgen: {14} 

This is a quick way to get almost the exact same error message as I got attempting to roll my own release (2.2-GAMMA, sometime last week). It was suggested that I'd have the CVS stuff if I used cvsup to be current. So I studied /usr/share/examples/cvsup/cvs-supfile. I *think* it required slight modifications. This is my cvsup-2.2 with comments removed:

	*default host=cvsup2.FreeBSD.org
	*default base=/usr
	*default prefix=/usr
	*default release=cvs tag=RELENG_2_2
	*default delete use-rel-suffix
	*default compress
	src-all
	ports-all tag=.

Think I needed the tag= items to get the proper files? And I changed prefix so it would act on /usr/src and /usr/ports without moving them to /home/ncvs. Maybe this was a mistake?

So back to the original question: I'm lacking a CVSROOT and I don't have a ~/.cvsrc. How to I get there from here? Is there something I need in addition to src-all in my cvsup file?

--
David Kelly N4HHE, dkelly@hiwaay.net
=====================================================================
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.





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