cvs and whatnot
Moderator: General Moderators
- shiznatix
- DevNet Master
- Posts: 2745
- Joined: Tue Dec 28, 2004 5:57 pm
- Location: Tallinn, Estonia
- Contact:
cvs and whatnot
what is a CVS and how do u use it and is it really worth it?
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
LOL how did I see this coming

Lemme find some links
(Joking about the rolling eyes... I'm sure tonnes of people don't know).
It's really just that... a change monitoring system. "Concurrent Versions System"
http://en.wikipedia.org/wiki/Cvs
http://www.sitepoint.com/article/harness-power-cvs-site (Looks a nice explanation)
Google... *cough*
Lemme find some links
It's really just that... a change monitoring system. "Concurrent Versions System"
http://en.wikipedia.org/wiki/Cvs
http://www.sitepoint.com/article/harness-power-cvs-site (Looks a nice explanation)
Google... *cough*
Re: cvs and whatnot
CVS is a version control system. It lets you work collaboratively with other developers on a project. Think of it as a check-in/check-out code system.shiznatix wrote:what is a CVS and how do <span style='color:blue' title='ignorance is bliss'>you</span> use it and is it really worth it?
Subversion is CVS on crack, steroids, and an intense training regiment. It does (almost) everything that CVS does, but better, and does more. Its insanely great.
So - its a way to store code and work interactively with other developers. Most opensource projects use one or the other.
You can browse the (now outdated) CVS repository of one of my projects to get an idea of what I'm talking about: http://cvs.sourceforge.net/viewcvs.py/kabalinvasion/
Unfortunately, some things about CVS are confusing. CVS is the name of the client. Its also the name of the protocol you use to connect the client to the repository.
Repository is a funky word too for most people (it basically means a server-side collection of files).
All in all, very confusing. Then you add in Subversion (SVN), which is similar but different, and its easy to get lost.
As to how to use it, you use a client to connect to a repository. On linux, you just use "cvs". On windows, you can use a few, for example TortoiseCVS. You then connect the client to the server (if you have an account there).
The client then brings down a copy of the repository to you. Think of it like downloading (via ftp) a copy of your website. Then you can edit as you like, and do a "commit". This sends *only* the files you've changed back to the server. (Technically, it sends only the parts of the files you've changed - not the whole file).
While you are doing so, I can also be working on the same code. We can both "checkout" code, and commit our changes. CVS (somewhat) intelligently handles version conflicts, and lets power users control the process if it can't figure it out.
As to "is it worth it?", absolutely. It is practically impossible to manage an opensource project without using some form of version control system. CVS is the most popular, but SVN is quite a bit better. Without a version control system, multiple people can't work on the same code at the same time, so development grinds to a crawl.
It should be mentioned that setting up a repository is a pain, which is why most project just use hosted repositories - like at sourceforge, or berlios.de.
- CoderGoblin
- DevNet Resident
- Posts: 1425
- Joined: Tue Mar 16, 2004 10:03 am
- Location: Aachen, Germany
May I recommend Tortoise CVS? It's a really great client. Check it out at http://www.tortoisecvs.org/
I already did in my post.jadams wrote:May I recommend Tortoise CVS? It's a really great client. Check it out at http://www.tortoisecvs.org/