From owner-freebsd-questions Thu Aug 2 2:47:38 2001 Delivered-To: freebsd-questions@freebsd.org Received: from web20103.mail.yahoo.com (web20103.mail.yahoo.com [216.136.226.40]) by hub.freebsd.org (Postfix) with SMTP id F286437B405 for ; Thu, 2 Aug 2001 02:47:34 -0700 (PDT) (envelope-from bsdneophyte@yahoo.com) Message-ID: <20010802094734.74901.qmail@web20103.mail.yahoo.com> Received: from [63.193.147.188] by web20103.mail.yahoo.com; Thu, 02 Aug 2001 02:47:34 PDT Date: Thu, 2 Aug 2001 02:47:34 -0700 (PDT) From: Bsd Newbie Subject: information about $CVSROOT, 'cvs update' and 'cvsup' - help! To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I tried to update my existing tree... by typing (what was stated in Greg Lehey's book): cd /usr/src cvs update -P -d I keep getting the following error: cvs update: No CVSROOT specified! Please use the `-d' option cvs [update aborted]: or set the CVSROOT environment variable. I tried reading the man page (unlike some of you, I have an extremely hard time figuring out what is being said and applying that to my problem) I gathered the proper format for the command would be: cvs -d /usr/src update -P well... after doing this I get this error: cvs [update aborted]: /usr/src/CVSROOT: No such file or directory Now, I have no clue what do to. This all has something to do with some mysterious $CVSROOT entry... and I can't seem to find anything about this in the handbook, and Greg Lehey's book doesn't seem to say too much about it (all I found is the following - "cvs expects to find the name of its repository in the enviroment variable CVSROOT, and it won't work if you don t put it there." pg.375) After reading this, I've become extremely confused about CVS and CVSUP. CVSROOT contains files used by CVS and it's not part of the source tree... ummm what does this mean? What is the repository? I thought this is where you got the updated port listings from? Does my system have a repository? What is the tree? Why do I have to update my tree? I thought everytime I ran cvsup it upgraded my tree... if so what does the 'cvs update -P -d' command do... and how does it differ from 'cvsup (filename)'? It seems the more I read the more confused I become. Any and all help, like always, will be greatly appreciated. __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message