| Author |
"Tag as Version" and "Create Branch"
|
Swerrgy Smith
Ranch Hand
Joined: Mar 26, 2010
Posts: 49
|
|
Hi all,
Could anyone tell me the difference between two actions "Tag as Version" and "Create Branch" when we use Eclipse to work with CVS server?
Thank you very much.
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26192
|
|
Tag as version creates a tag. Create as branch creates a branch and optionally creates a tag.
I realize I use the words in the question to answer it, so a little more definition.
tag - just a label. A point you can reference later. (you can also create a branch from it later)branch - a stream of development that you can write to. HEAD is a built in branch.
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
Swerrgy Smith
Ranch Hand
Joined: Mar 26, 2010
Posts: 49
|
|
Jeanne Boyarsky wrote:Tag as version creates a tag. Create as branch creates a branch and optionally creates a tag.
I realize I use the words in the question to answer it, so a little more definition.
tag - just a label. A point you can reference later. (you can also create a branch from it later)branch - a stream of development that you can write to. HEAD is a built in branch.
Hi, thank you for your reply.
If I am using HEAD version, then I create a tag called TAG_VERSION_1, then I create a branch called BRANCH1 and work on this branch for a while, then I choose "Team -> Switch to Another Branch or Version" and choose TAG_VERSION_1. After this final action I'll work work on HEAD or with BRANCH1?
Thank you.
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26192
|
|
|
Neither. You will be working on a readonly static snapshot. if you try to commit at that point, it will complain that you are not pointing to a branch.
|
 |
 |
|
|
subject: "Tag as Version" and "Create Branch"
|
|
|