info-cvs
[Top][All Lists]
Advanced

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

Re: Changing Server Question


From: Mark D. Baushke
Subject: Re: Changing Server Question
Date: Mon, 15 Sep 2003 10:16:43 -0700

Craig P Walters <address@hidden> writes:

> We are moving our CVS repository to a different machine soon. We
> currently use the actual machine name that holds our repository in the
> CVSROOT so any projects that are checked-out have this machine name in
> the CVS\root file.

Yup. This is a good reason to choose a generic name for your server so
that you may use DNS CNAME records to move the repository machine. You
may wish to consider doing this for your move... of course, it also
means that you may want to choose the pathname to your repository
carefully as well, so that it will also be fairly portable.
 
> We have more than 100 projects using CVS. Do we have to have everyone
> commit all changes before we move the repository to the new machine
> and have them do a fresh checkout or can we just write a script to
> update all for the CVS\root files to use the new alias? Or better yet,
> is there something in CVS or WinCVS to do this?

For the cvshome cvs version, the contrib/newcvsroot.sh shell script will
change the CVS/Root file throughout your tree for you. I do not know of
a Windows script that does the same thing, but the principle is the
same. Feel free to contribute a script that does this for the contrib
directory of the cvshome.org sources if you wish.

        Good luck,
        -- Mark




reply via email to

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