cvs

recent posts related to cvs

cvs tag - how to tag a release

"CVS tag" FAQ: How do I tag a release of a software project with CVS?

Assume that you have a software project named KickStart checked into a CVS repository. Further assume that you want to tag the current release of the project with the name "Release-2001_09_15". Here's how to tag that release with the "cvs tag" command:

cvs binary file example - fix a binary file with cvs admin

Several times when working with CVS I've forgotten to check a binary file into CVS with the binary file flag. Fortunately this problem can be fixed using the cvs admin command. It's just important to remember that fixing this problem is a two-step operation.

How do I add a binary file to a CVS repository?

CVS binary file FAQ - How do I add a binary file to a CVS repository?

Answer: You add a binary file to a CVS repository with the cvs add command, like this:

cvs add -kb myfile.zip

 

cvs remove faq - how do I move or rename a file?

CVS remove FAQ - How do I move or rename a file that is checked into a CVS repository?

Good question. This is neither obvious or straightforward with CVS. It also requires administrator priviledge.

cvs remove example - how to move a file

To move a file that's checked into CVS and save it's revision history, do the following:

CVS revert - How do I go back to a previous version of a file?

CVS FAQ - How do I go back to a previous version of a file?

Solution: What revision would you like to revert to?

Let's see ... I just messed up revision 1.25, so I would like to go back to version 1.24.

And what is the name of the file?

LoginController.java

Move to the directory where your file is located, then run this command:

cvs login - How do I log in from the CVS command line?

CVS Login FAQ: Can you show me an example CVS login command?

Sure. Here's CVS login command example:

cvs -d :pserver:al@cvs.devdaily.com:/usr/local/cvs login

This cvs login example assumes the following:

CVS update and release example - how to tell if your changes are committed

CVS command FAQ: How do I know if all the changes in my CVS sandbox have been committed?

One way to do this is to move to the directory just above the module you have checked out, then run the command cvs release command. Let's look at an example:

Syndicate content