This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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
Author

how to switch from one cvs to another cvs

kumsr phani
Greenhorn

Joined: Dec 13, 2012
Posts: 2
Hi,

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(10.10.10.10) now i just want to change it as Temp(11.11.11.11) with out deleting and checkout.

Please tell me a way
Martin Vajsar
Sheriff

Joined: Aug 22, 2010
Posts: 3610
    
  60

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.
 
jQuery in Action, 2nd edition
 
subject: how to switch from one cvs to another cvs