I need some help to decide whether to use a branch or whether some other method
is more appropriate.
I'm a relative newcomer to CVS. I am using it to control a project that consists
of two Windows DLLs (I'm working with Microsoft Developer Studio and WinCVS,
with the repository on a UNIX box). Call them main.dll and site.dll.
main.dll is core code common to all installations of the software. site.dll is
installation-specific.
I want to know what is the best way to manage this project in CVS. My initial
thought was to create a branch for each different installation. So for the A
site, I would choose the A branch, edit the code for site.dll and rebuild the
project.
I hit an immediate snag when CVS didn't appear to allow me to specify which
files were to be in the branch. Further reading made me think that perhaps this
is not what branches are intended for. A branch appears to be a way of creating
a copy of an entire project isolated from the main trunk, which at a later date
might merge back with the main trunk. I want to separate off a couple of files
from the project and make several different versions of these files, the
versions being related as brothers rather than as father, son, grandson, and
then choose which version I have checked out along with the common code so I can
build the appropriate version of site.dll.
Everything is in one module at present. Would I be better off if I had put the
DLLs in separate modules? If so, what would I do with the source files that are
common to both DLLs? If I need to split this into two modules, can I do this
easily without losing the version histories?
I would be very grateful for all suggestions that I receive.
Ian Goldby
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept
for the presence of computer viruses.
Power Technology Centre, Ratcliffe-on-Soar,
Nottingham, NG11 0EE, UK
Tel: +44 (0)115 936 2000
http://www.powertech.co.uk
**********************************************************************