[Cvsnt] RE: branching and tags

Jeremy_Holz at NAI.com Jeremy_Holz at NAI.com
Wed Jun 19 00:47:56 BST 2002


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 sales@march-hare.com.


Thanks Terris, good information.

Just out of curiosity, is the reason you work from the "branch and trunk"
vs. a "tag" on the trunk because of usability? I have my peers to convince
about the best way to move forward with incorporating a new source control
tool and I don't want to make any long term bad decisions (i.e. not having
the ability to easily obtain and build older versions of a product).

I noticed that you are currently using the CVSNT server. Have you noticed
any scalability problems with the server in your environment?

We have about 15 active development projects running here at any given time,
even though most of the projects are components of another product, it makes
for an interesting build environment. I was trying to decide if the server
should be CVSNT or running CVS Linux. Any opinions or insight would be
appreciated.

Thanks again for your feedback,
Jeremy

-----Original Message-----
From: Terris [mailto:terris at terris.com]
Sent: Tuesday, June 18, 2002 2:47 PM
To: jholz at nai.com; cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
Subject: Re: branching and tags


I create a new tag after every build.  A unique tag based on the time the
build started.  When we get close to releasing we create a branch i.e.
"Q5_0" but we continue to tag even in the branch.  When there is a branch,
changes that go into the branch usually go into the trunk.  This either
occurs manually (which is the usual way) or via CVS (which is rare).

Generally if somebody wants to get code they either use a branch tag or they
don't specify a tag (i.e. get the trunk).  The build tags exist for
emergencies only.

We use my build tools at http://devguy.com/pctk to build on the branch and
also on the trunk.  It also does the tagging for us and a bunch of other
stuff.

>>> Can you perform a get from a Tag and then turn around and create a new
Tag based on the files you picked up off the Tag you originally used?

Yes, you can.  The "cvs tag" command only works on the revisions you have
checked out of CVS.  This is a brilliant feature of CVS.  Therefore you can
"checkout" using a tag, modify a file, check it in, and then create a new
tag that contains the revisions in the previous tag plus the additional
change.

---- Original message ----

There are a few questions I couldn't find in the CVS manual and I was
wondering if someone on this list might be able to assist me. Our
Configuration Management group just recently picked up a group of developers
who use CVS and it's put me in a bit of a bind since none of our team
members have experience with CVS.

1.) In regards to version control would it make more sense to do which of
the following (1a or 1b), or something not mentioned (1c??)?
1a.) Have a build tag that the build environment builds from (e.g. a tag
named "Version200Beta1") while the development team continues to make
changes in the Main Trunk and then move the "Version200Beta1" tag forward
when the developers have stabilized their code?
1b.) Have the development team work from a development branch (and possibly
Feature branches) where they can merge changes back into the Main Trunk and
the build environment will pull from the tip of the Main Trunk?

2.) Can you perform a get from a Tag and then turn around and create a new
Tag based on the files you picked up off the Tag you originally used?
Example: Your build system pulls from the "Version200Beta1" tag and you wish
to create a new tag named "SCN_ENU_BLD166" and apply that to the files your
build system is currently using (which was from the "Version200Beta1" tag).
It seemed like this was possible since the tag is based off the files you
have locally, correct?

Any assistance or documentation you could provide would be appreciated.

Best regards,
Jeremy Holz
Network Associates
Configuration Management
Mail: jholz at nai.com

_______________________________________________
Cvsnt mailing list
Cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs




More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook