At 02:33 PM 9/25/2002, Matt Lyon wrote: >Is there a way to share a single source file across multiple directories >in CVS, so that if it gets committed/merged in one directory the update >registers in both locations? I know that VSS has this concept, and was >wondering if CVS offers any sort of similar functionality. I was thinking >that perhaps this could be achieved with some symlink trickery on the >server-side?
At 03:05 PM 9/25/2002, Douglas Finkle wrote: >Yeah, this is possible using "Ampersand modules". See Actually, Ampersand modules share whole directories, not single files. CVS has no built-in way to share a single file across multiple directories. I suppose that you could share a single file by putting it in its own directory and using ampersand modules. It might be easier to collect all of your shared files into a single directory and make it into some kind of library (object modules, include files, whatever) module. You would have to adjust your build system appropriately. Don't use symlinks in your repository. They may sometimes when the phase of the moon is right work for directories, but you don't want to deal with the "sometimes" part. Symlinking files is a way to suffer much pain and agony. Fred _______________________________________________________________ Frederic W. Brehm, Sarnoff Corporation, http://www.sarnoff.com/ _______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
