Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the advantages of using SVN over CVS?

My company is using CVS as our de-facto standard for source control. However, I've heard a lot of people say that SVN is better.

I know SVN is newer, but other than that, I'm unfamiliar with its benefits.

What I'm looking for is a good, succinct comparison of the two systems, noting any advantages or disadvantages of each in a Java/Eclipse development environment.

like image 975
shsteimer Avatar asked Aug 04 '08 14:08

shsteimer


People also ask

Why is SVN better than CVS?

The reason being SVN is newer and has more advanced options. It allows atomic commits, while CVS does not have this feature. SVN has the feature of renaming and moving files and directories, while CVS does not. As a result, it can be concluded that SVN is a better option to choose from.

Which is Better Git or SVN?

SVN is better than Git for architecture performance, binary files, and usability. And it may be better for access control and auditability, based on your needs.

What is CVN and SVN?

Conclusion. CVS and SVN are two such version control systems used in software development. The main difference between CVS and SVN is that the CVS is a free, client-server based version controlling system while SVN is an advanced and newer software version controlling system than CVS.


1 Answers

CVS only tracks modification on a file-by-file basis, while SVN tracks a whole commit as a new revision, which means that it is easier to follow the history of your project. Add the fact that all modern source control software use the concept of revision so it is far easier to migrate from SVN than it is from CVS.

There is also the atomic commit problem. While I only encountered it once, it is possible that 2 people committing together in CVS can conflict each other, losing some data and putting your client in an inconsistent state. When detected early, these problems are not major because your data is still out there somewhere, but it can be a pain in a stressful environment.

And finally, not many tools are developed around CVS anymore. While the new and shiny-new tools like Git or Mercurial definitely lack tools yet, SVN has a pretty large application base on any system.

EDIT 2020: Seriously, this answer is 12 years old now. Forget SVN, go use Git like everyone else!

like image 149
Vincent Robert Avatar answered Sep 25 '22 08:09

Vincent Robert