info-cvs
[Top][All Lists]
Advanced

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

Re: Sharing Files


From: Eric Siegerman
Subject: Re: Sharing Files
Date: Fri, 24 May 2002 13:06:55 -0400
User-agent: Mutt/1.2.5i

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.        address@hidden
|  |  /
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



reply via email to

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