Date: Thu, 2 Aug 2001 02:47:34 -0700 (PDT) From: Bsd Newbie <bsdneophyte@yahoo.com> To: freebsd-questions@freebsd.org Subject: information about $CVSROOT, 'cvs update' and 'cvsup' - help! Message-ID: <20010802094734.74901.qmail@web20103.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010802094734.74901.qmail>
