Hey,

> > > 1. Check out the 2.2.1 version:
> > > cvs co -r Rel_2_2_1 jboss
> > 
> > I think the best is to always checkout the most recent code 
> on the branch,
> > so
> > cvs co -rBranch_2_2 jboss
> > 
> How does the Branch_2_2 tag always refer to the latest code 
> on the branch?

This is automatically done by CVS.
It is a little bit weird, but CVS works like this. The branch tag is a
"floating" tag, it always point to the most recent code on the branch, and
CVS "floats" it whenever a commit is done on the branch.

When you branch from a main trunk you choose a branch tag name. It is
"normal" to think that this tag then refers to the branching point code, but
this is wrong. It always refer to the "top" of the branch, ie to the most
recent code on the branch.

Given this, there is no way to retrieve the branching point code if you
don't explicitly tag it (with a simple tag, not a branch one), just before
or just after the branching. That is the purpose of the Rel_2_2_0 tag, it
points to the branching point.

Was I clear enough ?

Cheers,

Simon

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to