On Fri, May 24, 2002 at 08:59:24AM -0600, Kendra Curtis wrote:
> I would like
> file X to appear in the directories for Project A and B so when it is
> changed in one location the changes will also appear in the other.
> 
> Can you do this with CVS?

You can do it for whole directories, but not for individual
files.  All of the files in a single CVS working directory have
to come from the same directory in the repository.

Subdirectories are different; you can grab them from here and
there, including sharing them between projects.  You can do that
by hand, but the CVSROOT/modules file lets you do it in an
organized and repeatable (if somewhat cumbersome) way.  See:
        http://www.cvshome.org/docs/manual/cvs_18.html#SEC157

Warning: don't try to do it by making symbolic links inside the
repository.  I gather that's a *really bad* idea!

--

|  | /\
|-_|/  >   Eric Siegerman, Toronto, Ont.        [EMAIL PROTECTED]
|  |  /
Anyone who swims with the current will reach the big music steamship;
whoever swims against the current will perhaps reach the source.
        - Paul Schneider-Esleben

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

Reply via email to