[cvsnt] Re: Does CVS support Linked files?
Arthur Barrett
arthur.barrett at march-hare.com
Mon Oct 24 01:52:20 BST 2005
Brian,
Can you re-org your project so that the "common" files are at least in a
directory by themselves?
Then you could use the modules system...
I'm certainly not a fan of encouraging people to alter their project
structure based on the limitations of a tool however I have a suspicion
that it is better business practice to place common files in a common
directory. My reasoning is that the common code is often maintained by
a different person/team than specific project work - so if you don't
want them breaking your app then it's better placed in a separate
location. If different projects may need to use different versions that
could be supported by a common structure too, eg:
Test/Common/1.0
Test/Common/1.1
Test/Common-Latest (is the same as 1.1 through an alias tag)
Test/Web
Test/RBB
I think noone would object to you submitting a modification to CVS to
support "Shared Files" as per SourceSafe, however I suspect it will be
very difficult to implement in CVS 2.5.x.
Regards,
Arthur Barrett
-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org] On Behalf
Of Brian Post
Sent: Monday, October 24, 2005 12:00 AM
To: cvsnt at cvsnt.org
Subject: [cvsnt] Re: Does CVS support Linked files?
I mean Shared files as per SourceSafe when I mention linked files. The
reason we used shared files is to minimise the bug fixes required. We
have
about ~90 shared files which are exact copies of each other.
>From Bo Berglund's very usefull information about how CVS works on the
Client & Server ends I would assume that I could use Linux/Unix soft
links.
So from that I concluded that the CVSROOT\modules file can only be used
to
share files into a folder under another.
Arthur Barrett raises a good point that I hadn't thought of about the
lock
server not knowing that the files are shared & would allow simulaneous
writes to both versions at exactly the same time. Unfortunatly in my
example
the WEB & RAA projects need similar base functionality but do completely
different tasks.
Cheers, Brian
_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
More information about the cvsnt
mailing list