Episodes
Thursday Jan 11, 2007
WinCVS installation steps
Thursday Jan 11, 2007
Thursday Jan 11, 2007
1. install Python 2. run wincvs_setup.exe, this will install cvsnt as well. 3. Set system enviornment value : CVSROOT to be d:\cvsroot (change to the actual directory that you use) 4. Create the cvs repository (also known as a tree). * create an empty directory which will hold the tree. mkdir ~/mycvsroot * Set the CVSROOT environment variable. setenv CVSROOT ~/mycvsroot * Create the repository: cvs init * If you now look in ~/mycvsroot, you'll find the basic files which constitute a repository. 5. Adding your project to the repositoryIf the files you want to install in CVS reside in `wdir', and you want them to appear in the repository as `$CVSROOT/myproject', you can do this: $ cd wdir $ cvs import -m "Imported sources" myproject MyBrand start Unless you supply a log message with the `-m' flag, CVS starts an editor and prompts for a message. The string `MyBrand' is a vendor tag, and `start' is a release tag. They may fill no purpose in this context, but since CVS requires them they must be present. You can now verify that it worked, and remove your original source directory. $ cd .. $ cvs checkout myproject $ diff -r wdir myproject $ rm -r wdir Erasing the original sources is a good idea, to make sure that you do not accidentally edit them in wdir, bypassing CVS. Of course, it would be wise to make sure that you have a backup of the sources before you remove them.
Comments (0)
To leave or reply to comments, please download free Podbean or
No Comments
To leave or reply to comments,
please download free Podbean App.