Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to firstname.lastname@example.org.
Yogesh, > I have two projects in the repository. Some of the files are > common in these two projects and some are different. > I want to share the files that are Same between these > projects. How can I archive this? > > Changes in common files should be reflected to both projects. > > Any pointer in this would be appreciated.. Version of CVS > I'm using is 2.5.03 The question you are asking is most commonly asked by people who have previously used Visual Source Safe. The CVSROOT/modules2 file or the older CVSROOT/modules file can help with this sort of thing: http://cvsnt.org/manual/html/Administrative-files.html#modules Or http://cvsnt.org/manual/html/modules2.html Generally the best CM independent solution is to organise your project source code hierarchy within the CM tool in such a way that 'common' code is in a project/module/directory of it's own so it can be checked out and managed independently of other projects, ie: /repo/proja /repo/projb /repo/common Then you define a module where 'projecta' = 'proja'+'common' so when a person does 'cvs co projecta' they get: /projecta/proja /projecta/common If your server is running on Linux then you can 'cheat' by simply symbolically linking the RCS file into two directories (though this may cause locking conflicts if the files are very busy). Regards, Arthur Barrett