|
Assume that you have a CVS project named KickStart. Further assume that you want to tag the current release of the project with the name "Release-2001_09_15". Here is how you would do that:
cvs checkout KickStart
cd KickStart
cvs -q tag Release-2001_09_15
So if I understand correctly, you have tagged the current release of this CVS project with this label, Release-2001_09_15. Is that correct?
Yes. You could have used a different label, but that is the one I chose.
So now, if I understand correctly, at any point in the future (like one week or one year from now) I can check out this release of the project, correct?
Yes. That is one of the beauties of CVS.
Instead of issuing your normal CVS checkout command, issue a command like this instead to get retrieve this tagged release:
cvs checkout -r Release-2001_09_15 KickStart
This will create a directory named KickStart as usual, but the contents in the directory will be from the date/time when you tagged the repository with this name. It is a snapshot in time of your repository, which can be very useful.
|