Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder Stooshie's Avatar
    Join Date
    Mar 2008
    Location
    Dundee, Scotland
    Posts
    378
    Thanks
    9
    Thanked 39 Times in 39 Posts

    Question CVS version/tag/branch

    Hi there,

    Just a quick question about CVS (I couldn't see another forum that was suitable).

    I can create a tag, and then a new branch ok, but where does "versioning" come in? is that just the same as a tag name?

    Thanks.
    Regards, Stooshie
    O

  • #2
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    I haven't used CVS but I use SVN so the concepts should be very similar. Every time you commit changes to any given file, a new version is created and you can go back and look at any of the past revisions of a file to see what has changed. This applies regardless of if you are in the main trunk or a branch.

    Did that answer your question?
    OracleGuy

  • #3
    Regular Coder Stooshie's Avatar
    Join Date
    Mar 2008
    Location
    Dundee, Scotland
    Posts
    378
    Thanks
    9
    Thanked 39 Times in 39 Posts
    Thanks for that. The environment I am using (based on eclipse) seems to use tagging and versioning interchangeably. They do seem to be the same thing. (I hope I don't discover further down the line that they are different and end up with a CVS mess!) :-)
    Regards, Stooshie
    O

  • #4
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    Yeah tagging is different (at least in SVN) you use a tag when you want to label a particular revision and make it always accessible. So as an example lets say you are working on a software product, you would make tags for a given release. That way if you need to go back and look at the code for that release it is easy and you don't need to go digging through past revisions.

    Every time you commit you are creating new versions of the changed files regardless of tags or branches.
    OracleGuy

  • #5
    Regular Coder Stooshie's Avatar
    Join Date
    Mar 2008
    Location
    Dundee, Scotland
    Posts
    378
    Thanks
    9
    Thanked 39 Times in 39 Posts
    As my colleague put it, it's like the tags are the villages and the branches are the roads to the villages. LOL!
    Regards, Stooshie
    O


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •