I decided today to setup a cvs repository on my work machine, so that all of the pre-production cvs development gets stored somewhere. I think I should have done the repository a bit more vague though. The whole reason for not checking it into live cvs is because I don't know where things need to go yet, and I don't want to hassle anyone with moving files around in CVS... i hear its a pain.
Anywhoo, to document my first import:
Create Cvs Root Directory:
> mkdir CvsRoot
Update .profile to set environment variables:
> export CVSEDITOR=/path/to/pico
> export CVSROOT=/path/to/cvsroot/dir
(For a remote repository)
> export CVSROOT=:ext:username@machinename:/path/to/cvsroot/dir
> export CVS_RSH=ssh
Initialize Cvs:
> cvs init
Create First Repository (on machine), and get inside directory:
> mkdir repository_name
> cd repository_name
Import the Repository into CVS:
> cvs import repository_name *vendor_tag* *release_tag*
(not really sure the significance of vendor_tag & release_tag... if anyone knows, feel free to chime in)
Voila.