[Top][All Lists]

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

Re: cvs add <directory>

From: Larry Jones
Subject: Re: cvs add <directory>
Date: Thu, 22 May 2003 16:53:13 -0400 (EDT)

Ross Patterson writes:
> Section 3.1.3 of the CVS manual suggests that "cvs import" is also the 
> correct 
> way to add a new "project" in the top-level directory of the repository.  
> That's always seemed odd to me, but it appears to be the *only* way to do 
> that - "cvs add" refuses with "cvs [add aborted]: there is no version here; 
> do 'cvs checkout' first".

You can only do add in a working directory.  So, if you want to add
something to the top level directory, you have to check it out (but you
*don't* have to check out its contents).  For example:

        cvs co -l -d toplevel .
        cd toplevel
        mkdir newproject
        cvs add newproject

-Larry Jones

It's SUSIE!  It's a GIRL!  Santa would understand! -- Calvin

reply via email to

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