Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

"Tag as Version" and "Create Branch"

 
Swerrgy Smith
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author & internet detective
Marshal
Posts: 34422
347
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  •  
    Swerrgy Smith
    Ranch Hand
    Posts: 94
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    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
    author & internet detective
    Marshal
    Posts: 34422
    347
    Eclipse IDE Java VI Editor
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    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.
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic