• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how to switch from one cvs to another cvs

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 3837
66
Netbeans IDE Oracle Firefox Browser
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic