[cvsnt] Re: Using CVS add instead of cvs import
Siegfried Heintze
siegfried at heintze.com
Tue Aug 17 01:26:40 BST 2004
I'm glad I asked!
Is it possible to populate a module one file at a time with the add command?
If so, how do I create an empty module called htdocs when the existing
htdocs directory has a lot of garbage in it?
I want to do this because I have a lot of garbage in the htdocs directory
and I only want some files (and some subdirectories, but not all) to be
under version control.
Sieg
-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org] On Behalf Of
Tony Hoyle
Sent: Monday, August 16, 2004 6:07 PM
To: cvsnt at cvsnt.org
Subject: [cvsnt] Re: Using CVS add instead of cvs import
Siegfried Heintze wrote:
> I'm looking at the Essential CVS book and there is a section on using the
> command
>
> cvs checkout -l -d cvsroot .
>
> as an alternative to using "cvs import" (page 157).
That can't be right... checkout != import.
A quick check shows that this does *not* do anything like an import and
the book is in error - in fact what it actually does is exactly what it
looks like it does, checkout the root of the repository into a subdirectory.
Do not do this, things will get horribly confused.
Tony
_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
More information about the cvsnt
mailing list