info-cvs
[Top][All Lists]
Advanced

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

Re: Moving CVS Repository


From: Kaz Kylheku
Subject: Re: Moving CVS Repository
Date: Mon, 17 Sep 2001 19:37:41 GMT
User-agent: slrn/0.9.6.3 (Linux)

In article <address@hidden>, Cornellious Mann wrote:
>If I want to move my CVS repository (let's say from NT
>to Unix), can I simply copy everything under CVSROOT
>into my new CVSROOT?  Thanks.

You can, however the existing users will be left stranded, pointing
to the old repository.

It's best to coordinate this action with the users so that they can
synchronize with it. This means that they commit any outstanding work,
(or else throw away anything they don't intend to commit).  When everyone
has commited their work, you can move the repository.  The users can
then check out working copies from the new place.

There are shortcuts possible. For example, one can write a script which
edits the metadata stored in the CVS subdirectories of the working copy
in order to ``rehome'' the working copy to a new location.

Whatever you do, you want to avoid the situation where some users continue
commiting changes to the old repository, after others have begun committing
to the new!


reply via email to

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