From owner-freebsd-hackers Sat Feb 15 19:35:11 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA09688 for hackers-outgoing; Sat, 15 Feb 1997 19:35:11 -0800 (PST) Received: from n4hhe.ampr.org (max12-21.HiWAAY.net [208.147.148.21]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA09674 for ; Sat, 15 Feb 1997 19:35:01 -0800 (PST) Received: from nexgen (localhost [127.0.0.1]) by nexgen.ampr.org (8.8.5/8.8.4) with ESMTP id VAA28629; Sat, 15 Feb 1997 21:33:17 -0600 (CST) Message-Id: <199702160333.VAA28629@nexgen.ampr.org> X-Mailer: exmh version 1.6.9 8/22/96 To: jdp@polstra.com (John Polstra) Cc: freebsd-hackers@freebsd.org From: dkelly@hiwaay.net Subject: Just CVS (was Re: CVS question, sendmail, named) In-reply-to: Message from jdp@polstra.com (John Polstra) of "14 Feb 1997 18:05:36 PST." <5e35lg$k3k@austin.polstra.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 15 Feb 1997 21:33:17 -0600 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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.