[cvsnt] Re: Migrating from Windows to Unix

Glen Starrett glen at starretthome.net
Wed Sep 14 17:52:35 BST 2005


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Ramakrishna_Rachakonda wrote:
> I have installed the latest version of CVSNT on my machine. Our team is
> planning to maintain CVS on Unix. 
> 
> Can someone tell me how to migrate the CVS repository from Windows to
> UNIX?

In very coarse steps, for the server move you'll want to:

1) Get CVSNT running on the *nix box (verify authentication works as you
expect, that you have equivalent scripts working, etc. with a test
repository).

2) Init the 'real' repository on the new server.

3) Examine your CVSROOT on the old machine and migrate any scripts you
were using to the UNIX versions you tested in step 1.

4) Copy over the repository files from your old server to the new one.
Be careful to *not* allow any Win -> UNIX line end conversions since
CVSNT stores the repository files internally as UNIX line endings
everywhere.  Don't copy over CVSROOT.

5) Stop access to the old server.

You need to coordinate this with your users.  You have some choices:

A) Have everyone commit prior to the migration then re-checkout after
the migration is complete from the new server.

B) After the migration, change the CVS\Root files in every sandbox to
the new server name.

C) You can make it transparent to the users if you:
   1) Name the server the same as the old server
   2) Make sure the repository alias matches the old server
   3) Use the same authentication method

Hope this helps.

-- 
Glen Starrett



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook