[Top][All Lists]

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

Re: how to automate the check out of a separate, related CVS tree?

From: Derek Robert Price
Subject: Re: how to automate the check out of a separate, related CVS tree?
Date: Sun, 15 Feb 2004 15:00:37 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1

Hash: SHA1

Gary Funck wrote:

>Given the following directory structure:
>   proj
>     |
>     |-- sub-proj1
>     |
>     |-- sub-proj2
>     |
>     |-- other files/dirs relating to proj
>Where 'proj' is an overall project directory accessed remotely
>as ext:cvshost:/cvs for example, and sub-proj1 and sub-proj2 are
>based upon independent CVS trees hosted on other sites, such as
> and, is there a
>straightforward method for defining the CVS structure of the
>overall project such that
>  cvs co proj
>Would grab all the files in 'proj' and then invoke cvs in such
>a way that it will check out the sub-proj1 and sub-proj2 sub projects
>such that their respective CVS control files point correctly to
>the hosts they were derived from, so that commits and updates in
>those sub-directories interact with their respective CVS repositories?
>I thought of trying to do this via the modules file, along the following

There is no way to do this with a stock CVS.  You won't be able to do it
with modules either, in client/server mode.

It might be an interesting patch to be able to map directories/modules
on a server to projects on other servers, basically turning a CVS server
into a proxy for particular modules/directories.

Otherwise, you will need to checkout the modules seperately on your
client - perhaps a script would do the trick?  You might also consider
importing the external project into your local tree periodically, of
course you wouldn't always be up to date and merging back can be a pain.


- --

Email: address@hidden

Get CVS support at <>!
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Netscape -


reply via email to

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