info-cvs
[Top][All Lists]
Advanced

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

Re: Multiple CVS and same files


From: Derek R. Price
Subject: Re: Multiple CVS and same files
Date: Thu, 31 May 2001 08:44:19 -0400

Erik Mattsson wrote:

> Well I found a solution, it is possible to use symlinks (unix)
> when creating files and directories in other directories.
> It is both possible to symlink the directories and files and
> committing works lika a charm now :)
>
> So I ended up with a layout such this one
> cvsA/xml
> cvsA/apple
>
> and
> cvsB/orange
> cvB/xml -> cvsA/xml

I think this is fairly safe with directories if you are keeping locks inside
the individual repositories.  It probably doesn't work properly with LockDir
set in the CVSROOT/config file if you are referring to multiple projects in a
single repository and almost certainly doesn't if you are referring to
projects in separate repositories.

There are quite definately locking and other issues involved with symlinking
files.  Search the mail archives of this list for more.  There was a recent
discussion on the topic of symlinks.

Derek

--
Derek Price                      CVS Solutions Architect ( http://CVSHome.org )
mailto:address@hidden         CollabNet ( http://collab.net )
--
A polar bear is a rectangular bear after a coordinate transform.






reply via email to

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