[Top][All Lists]

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

Re: Branches

From: Gerhard Siegesmund
Subject: Re: Branches
Date: Fri, 23 Jun 2006 12:08:05 +0200
User-agent: Mutt/1.5.11+cvs20060403

Hello all

> the standard practice is to keep the trunk (cvs special tag HEAD) to
> be your new code (aka mainline), and the branches for what you're
> calling 'old code' (aka releases).

I think this is defined by your workflow. Here at my organization we
create branches to work on new features. The "live" code always is in
the trunk. This way other programmers can get the current code by just
do 'cvs co'. If you create a new branch for the current live code you
always have to communicate the new branchname to all programmers. This
(in my opinion) leads to problems.

After finishing the new code in the branch we then merge the code back
to the trunk. This also has the benefit, that you can work on two
different features at the same time without having to share code in the
trunk (the programmers are independent (more or less) and don't
interfere with each other if their code intermittently is broken). Two
seperate branches which than can be merged back to trunk.

But I really think this is dependent on your workflow.

  --== Jerri ==--
Homepage:   ICQ: 54160208
Public PGP Key:

Attachment: signature.asc
Description: Digital signature

reply via email to

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