[Top][All Lists]

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

Re: Erase all cvs info from directory tree

From: Pierre Asselin
Subject: Re: Erase all cvs info from directory tree
Date: Tue, 18 Oct 2005 00:06:48 +0000 (UTC)
User-agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (NetBSD/2.0 (i386))

Mark E. Hamilton <address@hidden> wrote:
> address@hidden wrote:
> > RobE <address@hidden> wrote:
> > 
> >>Additionaly / alternatively: is there a way to import a project that
> >>already has CVS information?
> > 
> > 
> > Well, you could do:
> > 
> >     shellprompt> find . -name CVS | while read d; do
> >         mv $d $d-orig
> >       done
> >     shellprompt> cvs import blabla_the_usual ...
> > 
> > This renames the CVS directories to something harmless,
> > so they get imported like the rest.  They are treated like
> > ordinary directories and the information they contain is
> > ignored.

> This is exactly the wrong thing to do. If you do it this way, the 
> CVS-orig directory and its files WILL be imported into your repository. 

That was the intent !  When you check out a sandbox from that import
you get your own CVS/ subdirectories *and* the CVS-orig/ directories
from the other guys.  By switching them you can make your sandbox
appear to have been checked out from either CVS server.  Not for
the faint of heart.

To RobE:  Mark is right.  If all you want to do is import
a file tree that has CVS/ subdirectories without taking in
the CVS/ subdirectories, then just import.  They are skipped
("ignored") by default.

pa at panix dot com

reply via email to

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