At a guess ...
A) Naming a directory "cvs" is bad if you want it under CVS control.
B) The error message indicates that you did not do a "cvs init" and
hence the missing admin files.
G
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
David Berry
Sent: Friday, June 22, 2001 6:49 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: adding directories and files directly under /cvs
Larry,
I have made an observation that needs clarification.
Since I was unable to "add" a new program to the
cvs directory, as I showed in my previous email,
I tried to import it. The cvs import command does
indeed allow me to create a new project under cvs.
When do I use the import command instead of the
add command? It looks to me that if a new project
is to be input into CVS, the add command can be used
if the project will exist within a directory that
has already been created within CVS, and the import
command must be used for a totally new directory
structure.
For example: My CVS directory looks like:
cato:/cm/cvs% ls -alt
total 104
drwxrwsrwx 12 mike sswg 512 Jun 22 08:00 .
drwxrwsr-x 424 tung sswg 7680 Jun 21 15:42 esproc
drwxrwsr-x 7 tung sswg 512 Jun 21 14:55 sta
drwxrwsr-x 2 tung sswg 6656 Jun 21 14:40 utl
drwxrwsr-x 2 tung sswg 2560 Jun 21 14:22 include
drwxrwsr-x 2 tung sswg 1536 Jun 21 10:52 cmui
drwxrwsr-x 2 berry sswg 1024 Jun 21 10:41 cm
drwxrwsr-x 2 tung sswg 1024 Jun 19 09:55 CVSROOT
drwxrwsr-x 8 mike sswg 512 Jun 18 10:20 Alien
drwxrwsr-x 4 tung sswg 512 Jun 13 13:14 doc
drwxrwsr-x 6 sys sys 512 May 22 16:49 ..
cato:/cm/cvs%
If I want to add a new source set the the esproc directory,
all I need to do is to add the directory and add the files,
then commit them. But if I want to create a uiutl directory
under /cm/cvs with all the code to uiutl, I need to import it?
Is this observation correct?
Regards,
David Berry
David Berry wrote:
> Larry,
>
> I am able to add and commit directories
> 1 level under the /cvs directory with no
> problem. However, when I try to add a
> directory directly below the /cvs directory,
> I get :
>
> The directory uiutl exists in scripts and
> has all the code within.
> cato:/users/721/berry/src/scripts% cvs add uiutl
> cvs add: in directory .:
> cvs [add aborted]: *PANIC* administration files missing
>
> Try again: cvs is located in /cm/cvs
>
> cato:/users/721/berry/src/scripts% cvs add /cm/cvs/uiutl
> cvs add: in directory /cm/cvs:
> cvs [add aborted]: there is no version here; do 'cvs checkout' first
> cato:/users/721/berry/src/scripts%
>
> My desire is to create /cvs/uiutl directory
> and fill the uiutl directory with all the files
> associated with the uiutl program. Can you tell
> me what I am doing wrong?
>
> I am able to add new directories within existing
> directories under /cvs:
>
> Create my local directory!
> cato:/users/721/berry/src/scripts/esproc% mkdir newproc
>
> Add it to the Repository!
> cato:/users/721/berry/src/scripts/esproc% cvs add newproc
> Directory /cm/cvs/esproc/newproc added to the repository
> cato:/users/721/berry/src/scripts/esproc%
> Success!!!
>
> Regards,
> David Berry
_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs
_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs