info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Transferring the CVS to another hosts


From: Martin Tomes
Subject: Re: Transferring the CVS to another hosts
Date: 09 Feb 2001 08:48:54 +0000
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

>>>>> "Carl" == Deaver, Carl <address@hidden> writes:

    Carl> Inside
    Carl> that CVS folder are 4 files. 2 of which are ROOT and Repository.
    Carl> Inside each one of these ROOT files contains information as to who
    Carl> checked out these modules, which includes the server name. for
    Carl> example:
    Carl> :pserver:address@hidden:/data/sndev003/02/home/cvsop/qc

Find attached a perl program for changing CVS server.

It was written to change from a machine called merlot.controls.eurotherm.co.uk
to cvs.controls.eurotherm.co.uk.  I also changed the path on the repository
from /usr/local/repository to /cvs/controls.  Some of the checkouts had full
path names in the Repository file which started with /usr/local/repository,
this script strips that off the path to make it relative to the one in Root.

You will have to change the names and paths, but variations of this have been
used to move repositories several times.  You *must* test it thoroughly and
back up your checkouts before running it.  Users either need Perl installed,
or if you are using windows you can buy the ActiveState PerlDev kit to turn it
into a .exe

-- 
Martin Tomes

address@hidden

Attachment: changeserver.pl
Description: changeserver


reply via email to

[Prev in Thread] Current Thread [Next in Thread]