From owner-freebsd-hackers Sat Jun 14 15:12:32 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA12395 for hackers-outgoing; Sat, 14 Jun 1997 15:12:32 -0700 (PDT) Received: from austin.polstra.com (austin.polstra.com [206.213.73.10]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA12390 for ; Sat, 14 Jun 1997 15:12:30 -0700 (PDT) Received: from austin.polstra.com (jdp@localhost) by austin.polstra.com (8.8.5/8.8.5) with ESMTP id PAA07370; Sat, 14 Jun 1997 15:12:26 -0700 (PDT) Message-Id: <199706142212.PAA07370@austin.polstra.com> To: ee@uncanny.net Subject: Re: Right CVS recipe Newsgroups: polstra.freebsd.hackers In-Reply-To: <199706141757.KAA24374@pythagoras.uncanny.net> References: <199706141757.KAA24374@pythagoras.uncanny.net> Organization: Polstra & Co., Seattle, WA Cc: hackers@freebsd.org Date: Sat, 14 Jun 1997 15:12:26 -0700 From: John Polstra Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In article <199706141757.KAA24374@pythagoras.uncanny.net>, Edward Elhauge wrote: > > The recipe I use to extract the RELENG_2_1_0 release is: > cvs -q checkout -P -f -r RELENG_2_1_0 -N world > > This works OK except that because of the -f flag I get a lot of deleted cruft > in the ./src tree. This flag is supposed to grab the latest version of a file > if it can't find one that matches the release tag. That's right -- don't use the "-f" flag. You don't need the "-N" flag, either. See below. > Unfortunately when I try to get rid of that flag (-f) something very weird > happens. All the ./ports files are extracted and created but as I watch them > (in another window) they get deleted directory by directory just as soon as > they are created. > > What I gather from this is that either: > 1) I'm doing something wrong in the cvs, checkout recipe. > or > 2) the ./ports directory is not tagged to match the RELENG_2_1_0 > release and I have to deal with it as a separate extract. #2 is the right answer. For your initial checkout, chdir into /usr and type: cvs -q checkout -P -r RELENG_2_1_0 src cvs -q checkout -P ports After you've checked out everything the first time, you should use "cvs update ..." instead of "cvs checkout" to bring it up to date periodically. For the source tree, chdir into /usr/src and type: cvs -q update -Pd -r RELENG_2_1_0 For the ports tree, chdir into /usr/ports and type: cvs -q update -APd John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth