• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

CVS and refactoring

 
author
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My team is currently looking at upgrading our version control software. Right now we are using an outdated version of Starteam - 4.1. While we are considering upgrading to the current version of Starteam, we are also looking at other options.
One we are considering is CVS. It obviously has several positives - commonly used, stable, lots of documentation, good tool support. However, from my past experience with CVS, I remember it being cumbersome/impossible to move/rename a file while maintaining its history. I also remember it being impossible to remove a directory.
My question is this - does using CVS hinder aggressive refactoring? If you are constantly moving, renaming, consolodating files, does CVS create a problem with this? If not, how have you overcome this?
Thanks.
Ryan
 
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Ryan, welcome to JavaRanch.
That's an interesting question. It would be interesting to see how the Eclipse IDE (using CVS) handles the renaming of a class, which means that its containing file would have to change its name and the CVS repository would have to be updated.
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you rename/move a file, CVS will loose its history. Eclipse can't change this behaviour.
You should take a look at SubVersion, which is known to handle those things much better.
 
Ryan Breidenbach
author
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Ilja Preuss:
If you rename/move a file, CVS will loose its history. Eclipse can't change this behaviour.
You should take a look at SubVersion, which is known to handle those things much better.


I have been looking a SubVersion this monring. Getting it installed is a nightmare. I am having no luck and their docs aren't very clear. Have had success with this?
 
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have installed subversion today. I couldnt face any problem. I am able to install things smoothly and create a repository and added a project into it.
looks good.
 
Time flies like an arrow. Fruit flies like a banana. Steve flies like a tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!