-----BEGIN PGP SIGNED MESSAGE-----
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
>ext:proj1host.com:/cvs and ext:proj2host.com:/cvs, 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
>lines:


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.

Derek

- --
                *8^)

Email: [EMAIL PROTECTED]

Get CVS support at <http://ximbiot.com>!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org

iD8DBQFAL8/kLD1OTBfyMaQRAiBBAKCXomFIJ8InTV5sYg+Ns0JpNbCpjgCgwWfv
L40xeXngSWtZRnhPnzllSLU=
=Oyjg
-----END PGP SIGNATURE-----




_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to