Date: Wed, 25 Oct 2000 19:44:55 -0700 (PDT) From: Peter Jones <pjones@pmade.org> To: Daryl Chance <dchance@valuedata.net> Cc: FreeBSD Questions <questions@FreeBSD.ORG> Subject: Re: CVS Server Tutorial? Message-ID: <Pine.BSF.4.21.0010251929350.34800-100000@pmade.org> In-Reply-To: <00fc01c03ec7$845438e0$0200000a@mike>
next in thread | previous in thread | raw e-mail | index | archive | help
It sounds like you know what you are doing with CVS but I will cover some extra steps for the archives. The way that I have always set up cvs is with one directory like /cvs or /usr/cvs. After the directory is created you need to run `cvs -d /full/path/to/dir init'. You should then set your CVSROOT enviroment variable to that directory so you can stop using the -d to cvs. If you have source code to project FOO in the current working directory, you can put that into cvs via `cvs import FOO <some_tag> start'. Then anywhere in your file system you can do `cvs co FOO' to create a directory called FOO and checkout the FOO project inside that dir. Your repository would look like this: /cvs/CVS (cvs config files) /cvs/FOO (the foo project) To add more projects just do another import. You said that you are starting another version of the same project. You might want to look into using cvs branches instead of importing the code twice with different names. On Wed, 25 Oct 2000, Daryl Chance wrote: > Hi, > > I'm currently running a cvs server here at work and it's > sufficient for the 1 project we have, but...we're getting > ready to start on the second version of the project and > I want to rebuild the box. As far as CVS goes, I'd like > to set it up "Better". The way it is now is i have: > > /home/cvs > /home/cvs/bin > /home/cvs/dev > /home/cvs/project > etc > > is this how it is normally setup? I would assume it > would be setup a differnt way, but then again, this is > only my first attempt at setting up a cvs server :). > > oh...and when i do a checkout I do: > > cvs checkout . > > normally isn't it something like: > > cvs checkout <project> ? > > TIA, -- ....................................................................... : Peter Jones : Unix Geek - Four Wheeling : : pjones@pmade.org : Code Writing - Jesus Freak : :....................................:................................: :echo er|perl -0160 -pe ';$;=ord$/;s;^;"\U$/".chr($\;-11).chr$\;+4;e;': :.....................................................................: 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?Pine.BSF.4.21.0010251929350.34800-100000>