File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes how to switch from one cvs to another cvs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "how to switch from one cvs to another cvs" Watch "how to switch from one cvs to another cvs" New topic

how to switch from one cvs to another cvs

kumsr phani

Joined: Dec 13, 2012
Posts: 2

we have a cvs repository and i can access that repository with two different addresses means one for local access and another for public access,
In my company i cant access public ip so i want to switch repository address to another with out checkout.

suppose in my work space i have project like Temp( now i just want to change it as Temp( with out deleting and checkout.

Please tell me a way
Martin Vajsar

Joined: Aug 22, 2010
Posts: 3733

Welcome to the Ranch!

I've left CVS some time ago, so please take my advice with a gain of salt, but I believe that the repository connect string is specified in the Root file in every CVS folder in your local directory. It should be possible to change the connect string in each and every Root file within your working directory. I have actually done this in the past once, successfully, but it's been some time ago.

Make sure to commit everything everywhere before you do this, so that you can do a clean checkout if something goes wrong.

Also, consider creating an alias (either in your domain DNS, if you have one, or in a localhost file on every workstation) and use that alias in your connect string. You can then move the repository to another computer and just update the alias to point to the new computer, without hacking into the CVS control directories.
I agree. Here's the link:
subject: how to switch from one cvs to another cvs
It's not a secret anymore!