Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to switch from one cvs to another cvs

 
kumsr phani
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3752
62
Chrome Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic