--- Begin Message ---
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.
--- End Message ---
--- Begin Message ---
Subject: |
confirm 741ecb13d9efea4846ad437bab1ddf0b3fa7f0b0 |
If you reply to this message, keeping the Subject: header intact,
Mailman will discard the held message. Do this if the message is
spam. If you reply to this message and include an Approved: header
with the list password in it, the message will be approved for posting
to the list. The Approved: header can also appear in the first line
of the body of the reply.
--- End Message ---