This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes IDEs, Version Control and other tools and the fly likes CVS vs SVN Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "CVS vs SVN" Watch "CVS vs SVN" New topic
Author

CVS vs SVN

Julian Eduardo de Anquin
Greenhorn

Joined: Nov 28, 2003
Posts: 8
Hi all
We've been using CVS for a while, as our SCM.
Any one has experience with SVN? does it worth migrating?
Thanks a lot

Julian
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30356
    
150

Julian,
SVN has a huge advantage of preserving history when you rename a file. Whether it is worth migrating depends on your situation - how much does it cost to migrate, how much history do you have in CVS, how many users to you have, what tools do you use, etc


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
andrew pierce
Ranch Hand

Joined: Jun 18, 2006
Posts: 33
We use CVS to a limited degree. I'm also interesting in using SVN. Is there a clear migration process for CVS repositories to SVN? Also, Eclipse has built in CVS support. Does it have SVN as well?
Steve Dalton
Greenhorn

Joined: Jun 27, 2001
Posts: 13
1. There is a migration path from CVS->SVN. There is a python script - cvs2svn that you can run to convert your CVS repositories to SVN.

It can be found here:

http://cvs2svn.tigris.org/

I have had varying success with it. With a couple of really complicated projects that I tried it on the script had some problems and I ended up resorting to snapshotting the CVS repository to SVN - not preserving history (kept the old CVS repository around for looking at history).

2. Yes - there is a plugin for eclipse. It's called subclipse http://subclipse.tigris.org/ and has all the features of the CVS plugin (and a little bit more I think - although I haven't used the CVS plugin much).

HTH
Steve
[ September 12, 2006: Message edited by: Steve Dalton ]

SCJP<br />SCWCD<br />SCBCD (In progress)
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

One thing that's really nice about Subversion is that it does many operations entirely locally that CVS has to connect to the server for. Adding, deleting, moving, renaming, or tagging files -- and more -- are all done without contacting the server. Things are reconciled when you finally do a check-in. For people using a VCS remotely, as I often do, this is a huge advantage.


[Jess in Action][AskingGoodQuestions]
Jiafan Zhou
Ranch Hand

Joined: Sep 28, 2005
Posts: 192

Actually SVN was invented by the same team who developed CVS. And SVN is absolutely a substitution for CVS I soppuse.

The eclipse subversion is the best plugin I have ever used before.

Version control becomes a lot easier with SVN.

Regards,
Jiafan


SCJP, SCJD, SCWCD, SCBCD, SCEA
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

Originally posted by Jiafan Zhou:
Actually SVN was invented by the same team who developed CVS.


This is not true.
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Originally posted by Ernest Friedman-Hill:
This is not true.

Subversion's History


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: CVS vs SVN