info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting started - failing miserably


From: Joe Willmann
Subject: Getting started - failing miserably
Date: Mon, 18 Jun 2007 22:20:36 GMT

I am trying to use CVS for the first time and not having much luck.

I am ruinning YellowDog Linux on PPC.  Installed CVS version is 1.11.17 as 
reported by cvs -version.

I have created a directory /home/uj672c/cvs_dir for the archive.

My linux shell is cshell.

I added setenv CVSROOT /home/uj672c/cvs_dir to my .cshrc file.

I issued the command "cvs init" and received
208 > cvs init
cvs [init aborted]: cannot make directory /project/labtest.common/cm/cvs: No 
such file or directory

ls cvs_dir showed me an empty dir.  I would have expected that the CVSROOT 
environment variable would have pointer to the cvs_dir.

so I issued

cvs -d $CVSROOT init

Which was accepted without error and a ls of vcs_dir showed a directory 
named CVSROOT with lots of contents.  So obviously the cvs init command 
worked.

So the first question: Why didn't "cvs init" command work?

So now to the more interesting question.  I ran through the standard 
exercize of

mkdir tc
mkdir tc/main
mkdir tc/testing

cd tc
cvs import -m "Imported sources" yoyodyne/rdir yoyo start

For which I received the following:
145 > cvs import -m "Imported" yoyodyne/rdir yoyo start
cvs [import aborted]: /project/labtest.common/cm/cvs/CVSROOT: No such file 
or directory


So I tried
cvs -d $CVSROOT import -m "Imported sources" yoyodyne/rdir yoyo start

for which I received:
146 > cvs -d $CVSROOT import -m "Imported" yoyodyne/rdir yoyo start
cvs [import aborted]: /home/uj672c/cvs_dir/CVSROOT/CVSROOT: No such file or 
directory

so tell me what am I doing wrong?

Thanks.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]