Re: [lug-nuts] cvs question

From: Mike Machado (mike@innercite.com)
Date: Sat Nov 20 1999 - 22:47:43 PST


Quoting Brian Lavender <brian@brie.com>:

> I installed cvs and I successfully executed the command
>
> $ cvs -d /usr/local/cvsroot init
>
> and it created the directory
> /usr/local/cvsroot/CVSROOT
>
> so I went to
> /home/brian/src/perl/usr
>
> and created a file
> helloworld.pl
>
> I tried to commit it to cvs with the command below, but you
> can see the error I got.
>
> brian@debian:~/src/perl/usr> cvs -d /usr/local/cvsroot/ commit
> helloworld.pl
> cvs commit: cannot open CVS/Entries for reading: No such file or directory
> cvs commit: nothing known about `helloworld.pl'
> cvs [commit aborted]: correct above errors first!
>
> What corrections do I need to make?
>
> brian
> --
> Brian Lavender
> http://www.brie.com/brian/
> ****************************************************************************
> * To UNSUBSCRIBE from the list, send a message with "unsubscribe lug-nuts"
> * in the message body to majordomo@saclug.org. Please direct other
> * questions, comments, or problems to lug-nuts-owner@saclug.org.
>

Couple of problems: one you did not create a cvs module to work from.

mkdir /usr/local/cvsroot/scripts
cd /home/brian/src/perl; cvs -d /usr/local/cvsroot checkout script
copy your script to 'scripts' and execute 'cvs add yourscript.pl'

Mike Machado
mike@innercite.com
InnerCite
Network Specialist
****************************************************************************
* To UNSUBSCRIBE from the list, send a message with "unsubscribe lug-nuts"
* in the message body to majordomo@saclug.org. Please direct other
* questions, comments, or problems to lug-nuts-owner@saclug.org.



This archive was generated by hypermail 2b29 : Fri Feb 11 2000 - 16:20:21 PST