From owner-freebsd-questions Sat Jun 26 7: 0: 0 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ns.clientlogic.com (ns.clientlogic.com [207.51.66.75]) by hub.freebsd.org (Postfix) with ESMTP id 67C9914D5C for ; Sat, 26 Jun 1999 06:59:49 -0700 (PDT) (envelope-from ChrisMic@clientlogic.com) Received: by site0s1 with Internet Mail Service (5.5.2448.0) id ; Sat, 26 Jun 1999 09:59:48 -0400 Message-ID: <6C37EE640B78D2118D2F00A0C90FCB44011059F5@site2s1> From: Christopher Michaels To: 'Doug White' Cc: FreeBSD Mailing List Subject: RE: How do I check out from a local CVS tree? Date: Sat, 26 Jun 1999 10:01:45 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > -----Original Message----- > From: Doug White [SMTP:dwhite@resnet.uoregon.edu] > Sent: Friday, June 25, 1999 7:04 PM > To: Christopher J. Michaels > Cc: FreeBSD Mailing List > Subject: Re: How do I check out from a local CVS tree? > > On Wed, 23 Jun 1999, Christopher J. Michaels wrote: > > > Hello, > > I have the whole CVS tree on my system, via CVSUP. Someone had > suggested > > that I could use cvs to pull the /usr/src and /usr/ports trees out of my > > local CVS repository. > > > > Is this possible? If so, how do I do it, specifically I don't know how > to > > specify that I want RELENG_3. Pointing me to a FAQ page or specific > message > > in the mailing list archives would be fine. > > setenv CVSROOT /path/to/your/cvs/tree > cd /usr > cvs co src > Thanks! Just out of curiosity though, this appears to be one of the only command where no one wants to use a command line argument. They'd all rather use an environment variable. I'm curious why this is. I would think if I were executing this from cron or something of the like using: cvs -d /usr/cvs co -d /usr/src -r RELENG_3 src ...would be a better option. Seeing as SO many people have suggested using the env variable, is it better to do things that way, or is this just a coincidence? I'm not used to such consistency when it comes to answers to my questions. There's always more than one way to do things in UNIX and that is usually evident in the replies to peoples questions. :) > > I can't seem to search the mailing list archives anymore. The search > works > > fine but the URLs to all the messages have odd characters, which return > > pages that don't exist. (But that's another issue.) > > man cvs > I had looked at that, and was a bit confused, unfortunately. Someone else suggested using 'info cvs'. The info pages were alot more informative. > Did you pull the actual tree or did you run cvsup in checkout mode? > I used cvsup as per the FAQ page http://www.freebsd.org/FAQ/FAQ243.html#246 on making your own release. I have since used that to build a release successfully, and am have checked out the source tree with cvs (last night), everything appears to be in order, so I'm not going to complain. If I can't make buildworld in the near future, I'll consider another way of pulling the cvs tree. > Doug White > Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve > http://gladstone.uoregon.edu/~dwhite | www.freebsd.org > > -Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message