[Top][All Lists]

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

Re: How to add new files for an empty directory structure

From: Greg A. Woods
Subject: Re: How to add new files for an empty directory structure
Date: Mon, 16 Jul 2001 16:13:33 -0400 (EDT)

[ On Monday, July 16, 2001 at 20:30:28 (+0530), Sudarshan wrote: ]
> Subject: How to add new files for an empty directory structure
> we have started a new project, hence first we created a directory
> structure containing only directories and no files were inside.

CVS doesn't manage directories -- it only manages the files within
them.  Directories are just nebulous bits of infrastructure that hold
the files in place -- they come and go as needed (provided of course
that you use the correct CVS update and checkout options).

> Now we wish to add files to those directories, depending on which files
> should go to which directory,
> Now am i supposed to checkout the entire directory tree and add files to
> each direcory as per our requirement.
> Is that the way correct. Please correct me if iam wrong.

This will work, but just this once for your initial checkout of the
working directory tree into which you'll place the files to be added you
must *not* use the '-P' option (which should be specified by default in
your ~/.cvsrc file).  Use "cvs -f checkout module" to avoid it.

I recentlyposted patches to the CVS manual which more clearly document
these procedures in detail.  Hopefully in some form or anothe they'll
soon become part of the main release.

> Can i restrict the usage of directories to only certain users. If
> possible how should i proceed.

Unix user groups.  Writable repository directories imply commit access
to the files contained within the directory.

                                                        Greg A. Woods

+1 416 218-0098      VE3TCP      <address@hidden>     <address@hidden>
Planix, Inc. <address@hidden>;   Secrets of the Weird <address@hidden>

reply via email to

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