info-cvs
[Top][All Lists]
Advanced

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

Re: cvs add <directory>


From: Eric Siegerman
Subject: Re: cvs add <directory>
Date: Thu, 22 May 2003 21:26:01 -0400
User-agent: Mutt/1.2.5i

On Thu, May 22, 2003 at 04:08:27PM -0400, Ross Patterson wrote:
> 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 [...]

IMO there *is* no correct way to add a top-level directory.  The
usual approaches:
  - The "cvs co -l -d dir ." dance recommended in this thread
  - "cvs import" of a tree containing only directories
  - a simple "mkdir $CVSROOT/foo" (which is my own preferred
    method)
all work, but they're all kludgy workarounds for the problem that
"make a new top-level directory" is an unaddressed case in the
CVS paradigm.

But all of those kludges work, and none of them is onerous, so
it's not worth the effort and added complexity of creating a new
"cvs add-module foo" subcommand to fill in the gap.

--

|  | /\
|-_|/  >   Eric Siegerman, Toronto, Ont.        address@hidden
|  |  /
My Wine works.  However it crashes about half the time on startup.
Apparently their simulation of windoze API is getting too accurate.  :)
        - Kyle Sallee





reply via email to

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