Discussion:
Work from a tagged version
Mikael Petterson
2009-03-20 13:29:26 UTC
Permalink
Hi,

What happens if I set my source to a TAGGED version and start modifing
my files. Will a branch be created that I need to merge into the HEAD?

Br,

//mike

=============================
Ericsson AB

Mikael Petterson
Software Designer
Mobile: +46-(0)70-2673044
Email: ***@ericsson.com
=============================
Spiro Trikaliotis
2009-03-21 08:17:19 UTC
Permalink
Hello Mikael,
Post by Mikael Petterson
What happens if I set my source to a TAGGED version and start modifing
my files. Will a branch be created that I need to merge into the HEAD?
There will be no branch generated automatically. If you have a tagged
version, it is just a tagged version - you cannot commit anything to it,
cvs will refuse any attempt (but: see [1]). In order to be able to
commit to it, you must generate a branch yourself [2], change to this
branch [3], and then, you can commit.


[1] I am assuming here that you do not have a branch tag in mind. In
this case, you are obviously committing to that branch. I think
you already know this, don't you?

[2] cvs tag -b $BRANCH_TAG_NAME -r $YOUR_CURRENT_TAG_NAME

[3] cvs up -r $BRANCH_TAG_NAME

HTH,
Spiro.
--
Spiro R. Trikaliotis http://opencbm.sf.net/
http://www.trikaliotis.net/ http://www.viceteam.org/
Loading...