[Top][All Lists]

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

Re: New to CVS Need help setting up repo

From: Larry Jones
Subject: Re: New to CVS Need help setting up repo
Date: Wed, 6 Feb 2002 17:29:59 -0500 (EST)

address@hidden writes:
> $pwd
> /cpas/stacy/cvs/incmar01
> $cvs -d /cpas/stacy/cvs/incmar01/ init
> (This gives me CVSROOT)
> $cvs import -m "init" inc stacy start
> (Here is where I get problems.  The following scrolls on the screen until I
> stop it)
> N inc/inc/inc/inc/inc/inc/src/,v,v,v,v,v

Your CVSROOT should be a *brand new* directory, not an existing
directory that contains source code you want to put under CVS control. 
Think of the repository as a library.  If you have books that you want
to put in a library, you don't build a library around where the books
already are, you build it somewhere else and then take the books to it. 
CVS works the same way: init builds the library and import takes
(copies) your files into it.

Reasonably recent versions of CVS won't let you import inside the
library and get the infinite recursion you reported.  You really should

-Larry Jones

Is it too much to ask for an occasional token gesture of appreciation?!
-- Calvin

reply via email to

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