[Top][All Lists]

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

Re: cvs with subdirectories & Tortoise cvs

From: Todd Denniston
Subject: Re: cvs with subdirectories & Tortoise cvs
Date: Tue, 10 Jul 2007 12:51:14 -0500
User-agent: Thunderbird (X11/20070509)

Daniel Wetzler wrote:
Dera CVS experts,

we are using a cvs repository via pserver on a Unix machine here.
Since we have several workgroups with different projects here we
created subdirectories into
the cvs-repository.

The problem is that one has to give a certain cvs-repository path to
log in but has to use
a subdir of that path to use cvs.

to have the $CVSROOT on a per project basis, then you need multiple repositories, which do not have to be on different machines, but do have to have different directories to work in.
with appropriate mods to [x]inetd

How could I create a new module which  is in a subdir of my cvs
repository ?

being one level [subdirectory] off of the $CVSROOT automatically makes it a 'module'.
If you have projects which are in the repo like:

then it might be easier for the users if the administrator used the modules config file.

with the modules file looking something like:
ProjA   subdir/projAdir
ProjB   subdir/projBdir
ProjC   subdir/projBdir/projCdir
ProjD   subdir/projBdir/projDdir

and checkouts looking like:
cvs -d pserver:address@hidden:2401/mycvsrep co ProjD
cvs -d pserver:address@hidden:2401/mycvsrep co ProjB

You should probably read
before editing the modules file for the first time.

If I use something like
:pserver:address@hidden:2401/mycvsrep as CVSROOT then I
only reach the main cvs directory. If I use something like
:pserver:address@hidden:2401/mycvsrep/subdir as CVSROOT
I can't log into cvs.

$CVSROOT has to point to the root of the repository [directory containing CVSROOT].

How can I solve that dilemma ?

best ragards,


Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

reply via email to

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