Re: Work from a tagged version

Spiro Trikaliotis <[email protected]>
Newsgroups gmane.comp.version-control.cvs.general
Message-ID <[email protected]>
Hello Mikael,

* On Fri, Mar 20, 2009 at 02:29:26PM +0100 Mikael Petterson wrote:
 
>    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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.