[Top][All Lists]

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

RE: Adding a directory

From: Mike Ayers
Subject: RE: Adding a directory
Date: Tue, 8 Apr 2003 10:23:10 -0700

> From: Adam Witney [mailto:address@hidden
> Sent: Tuesday, April 08, 2003 3:52 AM

> Sorry if this is a newbie question.

        It is, but that's OK.

> I have a checked out a 
> version of a
> module on a branch and I have added a new directory within it 
> and some new
> files... How do I add and check these files and the new 
> directory into the
> repository on the same branch?  I have tried importing 
> them... But they end
> up in the main trunk

        Yes, imports always go to the main branch, and importing is generally 
intended for putting imported distributions (you use gcc on your project, so 
you untar and import the sources so that you can rebuild the project five years 
from now).  You don't want import here.  Use `cvs add` on each directory and 
file that you want CVS to track, then `cvs commit` the files to get your 
versions of the files into the repository.


reply via email to

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