[EMAIL PROTECTED] wrote: > I am trying to add new project to CVS, and having problem with files > revision index. > > My $CVSROOT is set correctly to repository. > > Here is what I am doing: > trying to set project for bin dir, bin dir includes only one file > proj.pl > >> cvs import -m "adding bin" bin projxxx MySoftwareCompany start > [...]
Some CVS documentation unhelpfully suggests using "cvs import" to get sources into CVS, but I think that is bad advice. "cvs import" is in fact a kludgy feature that is meant for tracking sources from a vendor that you want to integrate into your project (and maybe modify locally). The funny 1.1.1 branch is called a "vendor branch", and there is a complicated implicit relationship between the vendor branch and your main line of development. Using import will make it look like the imported source is on the main line of development and also the vendor branch, so you can use it just like you tried. However... There is no reason to use "cvs import" to get a file that you created yourself into CVS. Simply check a working copy out of CVS, then in the working copy use "cvs add" to add the directory then "cvs add" again to add the file. This will add the file as revision 1.1 without creating a vendor branch. Michael
