Vedr.: Re: [Cvsnt] CVSRootChanger for Windows

jml at jml at
Thu Apr 4 08:04:23 BST 2002

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

Another approach (a simple command file):

@echo off
ECHO   This script changes the CVS-repository for all checked out modules
in D:\Projects
REM Set new cvsroot
SET CVSROOT=:yourserver:machineid:C:\SOURCE
REM Set the root of your sandboxes
REM Find all Root files and call subroutine to make the change
if not exist %1 goto :NEXT
REM Tell what you do
echo Changing root in module %1

Med venlig hilsen

Jørgen Møller Larsen, KMF
Nykredit Data
email: jml at
Tlf. direkte 96 35 50 69

                    Peter Brown
                    <pbrown at        Til:    Henrich Deppenmeier <hdeppenmeier at>
          >             cc:     <cvsnt at cvsnt downloads at @CVSNT on Twitter CVSNT on Facebook>
                    Sendt af:            Vedr.:  Re: [Cvsnt] CVSRootChanger for Windows
                    cvsnt-admin at c

                    venligst til
                    Peter Brown

we addressed this problem for MacCVS users by using BBEdit to do a
search/replace over multiple files (search for 'oldserver' in all files
called Root, replace with 'newserver')

i have also used this one-liner to fix my CVS/Root files (on win2000 using

find . -name Root -exec perl -nle 's/oldserver/newserver/; print;' -i.bak
{} ;


On Wed, 3 Apr 2002, Henrich Deppenmeier wrote:

> Hi !
> I noticed some people having the wish to change the cvs\root file
> of a existing folder structure. It's nothing big, but I made a small
> for this purpose for our internal use.
> Feel free to download it at
> , the
> source can be found at
>, and a
> screenshot can be found at
> The usual disclaimer (commit all your changes, backup your files, use at
> your own risk, etc.) applies.
> Just a word to all 'pure cvs' fans : Yes, I know that committing changes,
> deleting your module on the harddrive and checking it out again is the
> 'better' way to do it.
> But as we had to switch our servername, we would have to do that for a
> larger amount of projects on a larger number of computers.
> And another word about my favorite cvs frontend WinCVS : No, I could not
> the macro for changing the root to work. That's perhaps due to the fact
> I refuse to install complete tcl packages or python on every computer in
> company. I'm still working with a tcl81.dll copied to every WinCVS
> installation folder and we will try to stick to WinCVS 1.4b4 as long as
> possible for that reason.
> (I really dislike the changes that happened between 1.4b4 and 1.4b6
> they render the existing tcl scripts useless for my configuration and try
> force me to install a 10+ MB Python package on every computer).
> Have a nice day,
>     Henrich.
> _______________________________________________
> Cvsnt mailing list
> Cvsnt at

Peter Brown                 Senior Software Engineer
Dept. of Computer Science        140 Governors Drive
University of Massachusetts   Amherst, MA 01003-4610
Phone: (413) 577-2505            Fax: (413) 545-1249
pbrown at

Cvsnt mailing list
Cvsnt at

Cvsnt mailing list
Cvsnt at

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