2

I need to move CVS repository from one server to another. Currently my repository is on external hard disk. So I believe I do not need to copy code from one server to another. Both the servers are same OS and have same version of cvsnt on them. How should I go about doing this task? Currently I just disconnected the hard disk from the old server and connected it to new server.

I opened control panel item of CVS NT and could see repository configuration. There is an add button which I believe creates a new repository. What should I do to change the server name in the CVS configuration and what should clients do to something analogous to svn relocate?

user50273
  • 137
  • 3
  • 7

1 Answers1

3

On the server side it is simple to move the repository. Just move the repository to the new server. Ensure the server is serving it. This can be done by checking out the project or a portion of it. If you are using a graphical tool to create the repository, it may be simplest to create a new repository, and then replace it with the moved repository.

On the client side you need to recursively replace the contents of the CVS/Root file in each directory with the new root. You may need to be careful doing so as users may have other roots. It is valid to have different Roots nested in the same tree.

BillThor
  • 11,345
  • 2
  • 28
  • 25