Creating new repository:
cvs -d /usr/local/newrepos init
Where /usr/local/newrepos is the root directory of the repository.
setenv CVSROOT /usr/local/newrepos
This command updates CVSROOT global variable.
Starting new project:
- Goto your
new project directory
#cd /usr/project/new_project
(/usr/project/new_project)# ls
main.c wrap.c socks.c 01/ 02/
(/usr/project/new_project)#
- Issue
(/usr/project/new_project)# cvs
import -m "log msg" project_name vendor version
................
No conflicts created by this import
The -m flag (for message) is for specifying
a short message describing the import.
(/usr/project/new_project)# cvs
import -m "initial import into CVS" project_name vendor version
No conflicts created by this import
- So finally
new project is ready for checking out.