|
Importing a projectOnce you've created a repository you probably want to import your existing projects into it or perhaps create new ones. The procedure is the same except that importing an existing project involves more files.All following examples assumes that the CVSROOT environment variable is properly setup. The first thing you need to do is place yourself, not your physical being ofcourse, in the directory where your project resides (or create a new directory). Now you need to make sure that only the files that should be in CVS are here. Temporary files, backup files and other automatically generated files are generally not what you want in CVS, if they are present either delete them or move them outside this directory. The next thing is to decide where you want the project in the repository. It's common to categorize projects by either vendor, project type or programming language (or all if applicable). Examples are:
So to import our very own music player into the repository we do
The two parameters after the music/apollo are the vendor and release tag. The vendor tag is usually your company name, your group name or yourself. The release tag is the initial tag name for your project and is usually something like initial, start or the version number of your imported project. Also remember to write a proper message when asked for it. Once this is done you can checkout the project in another directory by entering
You can then enter music/apollo to find your project. Now is the time to check if all files has been imported in CVS, if not move them to your local CVS repository and add them. It's usually a good idea to make a backup of your old non-CVS version of your project. Comment ListThere are no comments. |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||