[lug-nuts] way to add a directory in cvs without first checkout

From: Brian Lavender (brian@brie.com)
Date: Tue Dec 14 1999 - 11:41:40 PST


I am wondering if there is a more efficient way I can use CVS. First, the
way I currently do it. Second, the way I wish I could do it.

When I use cvs I first create a directory under the cvs root directory for the
module that will contain the files I wish to track.

cvsroot = /usr/local/cvsroot

Module containing files. I create this directory

/usr/local/cvsroot/practice

I then go to my home directory

$ cd /home/brian

and I do

$ cvs -d /usr/local/cvsroot checkout practice

cvs creates the directory

/home/brian/practice

I then add a file into my practice directory.

$ cp ~/foo.pl /home/brian/practice/

Then I move into the practice area

$ cd ~/practice

and I add the foo.pl to my cvs

$ cvs add foo.pl

Then

$ cvs commit

I then enter an initial log entry for foo.pl

Here's where the question starts.
Say I already have the directory

/home/brian/practice

with say

foo.pl barney.pl wilma.pl bar.pl

and so on. Is there a way to drop these into CVS without doing a checkout?

brian

-- 
Brian Lavender
http://www.brie.com/brian/
****************************************************************************
* To UNSUBSCRIBE from the list, send a message with "unsubscribe lug-nuts"
* in the message body to majordomo@saclug.org. Please direct other
* questions, comments, or problems to lug-nuts-owner@saclug.org.



This archive was generated by hypermail 2b29 : Fri Feb 11 2000 - 16:20:22 PST