Arash,

You are correct, CVS will not allow you to have files from different trees
in one directory, however the following structure is possible:

        toplevel/README
                /A

or

        toplevel/README
                /B


modules file can look like that:

readme  -l -d . . README
projectA        -a topmk A
projectB        -a topmk B

HTH

Eugene.

-----Original Message-----
From: Arash Khodabandeh [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 22, 2000 12:27 AM
To: [EMAIL PROTECTED]
Subject: how to factorise files


Hello,

I have two modules that share some files.
For example module A/ and B/ that share a 
README file.

I would like to manage the README file in one place,
for example in a special module C/

So my CVS structure looks like:
   $CVSROOT/A/ ... and all its files ...
           /B/ ... and all its files ...
           /C/README (plus other files)

It seams that I can not create a checked out
module composed of A/ and all its files, put the
C/README file, but placed at the top of the
checked out A/:
    checkedoutA/ ... and all its files ...
               /README
and checkedoutB/ ... and all its files ...
               /README

Working with ampersand modules, I can only create
a top module that contains in 2 separate subdirectories
A/ and all of its files and C/ with the README file:
    topmoduleA/A/ ... and all its files ...
               C/README
    topmoduleB/B/ ... and all its files ...
               C/README


Am I right to thing that CVS does not allow the kind of
Check out I am trying to do?

Let me know if you have experience with this. I will 
appreciate any input.

MAny thanks in advance,
Arash.

Reply via email to