On Wed, Jul 05, 2000 at 02:46:25PM -0400, [EMAIL PROTECTED] wrote:
> ok well here's some more detail on my problem.
> I set up CVS the following way.
> i created a directory which i wanted to work as the main directory, the
> repository.
> then i typed and added the following to my .profile
> CVSROOT=/afs/fsh/.../repository/
> export CVSROOT
> then typed this, which creat ed the CVSROOT directory
> cvs -d /repository/ init
> then after creating another directory ( dir_name ) with the files i want to
> be controlling, i went into the directory to be controlled, and typed in:
> cvs import -m "Initial import into CVS" dir_name jwargand start
> this spits something out on the unix window, and then after that i type in
> cvs checkout dir_name
> cvs checkout: cannot find module "Testfile" - ignored
> and that comes out and nothing else.
>
> I looked at the profile, and the module files, as you pointed out michael,
> and i also looked at your webpage, but i don't see where to add that to the
> modules file, or what exactly i have to add
> here's my CVSROOT directory:
>
> /afs/fsh/data/de/gym/culp/TestCVS/CVSROOT
>
> thats what it says when i echo CVSROOT.
But this is not what you have described above with export ... . Just to
make sure:
1. Create and init your repository with
mkdir /full/path/to/rep (probably done as root, depending on where
rep is located; if done as root, you maybe
want to change the permissions via
chmod -R user.group /full/path/to/rep)
export CVSROOT=/full/path/to/rep
cvs init
2. cd to project which should be imported
cd myproject
cvs import -m "just testing" myproject me start
3. Check out your working copy
cvs co myproject
These steps work without modifying $CVSROOT/CVSROOT/modules or any other
config file. If you do not specify the CVSROOT env variable you have to
set the '-d /full/path/to/rep' option in every cvs commandline, at least
in this example.
Regards,
Matthias
--
Matthias Kranz [EMAIL PROTECTED]
http://www.belug.org/~kranz
"Ever tried. Ever failed. No matter. Try again.
Fail again. Fail better." (Samuel Beckett)