View Full Version : CVS version/tag/branch
10-31-2011, 12:37 PM
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?
10-31-2011, 03:43 PM
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?
10-31-2011, 05:21 PM
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!) :-)
10-31-2011, 06:07 PM
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.
11-03-2011, 05:21 PM
As my colleague put it, it's like the tags are the villages and the branches are the roads to the villages. LOL!
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.