info-cvs
[Top][All Lists]
Advanced

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

Re: Newbie Problem: About repositiory


From: Riechers, Matthew W
Subject: Re: Newbie Problem: About repositiory
Date: Mon, 04 Nov 2002 13:22:30 -0500

Xicheng Jia wrote:
> 
> I have several modules in my repository under the following
> directory:
> 
>   /users/t1/CVSROOT
> 
> But recently, our system administrator transfered all my data to another
> directory, say:
> 
>   /users/005/t3/CVSROOT
> 
> Then I can not checkin or do some other cvs operations correctly on
> the files I checkouted out several weeks before, b/c the CVS root had been
> changed.

The CVS/Root files in your sandbox(en) need to be updated to reflect the
new repository path. The following will generate a script to do the
conversion:

        find . -type d -name CVS \
        |awk '{print "echo $CVSROOT >\"" $1 "/Root\""}'

You can tweak the output if need be, then just run the script from the
top of a sandbox. $CVSROOT needs to be set to the new location. Use at
your own risk!

-Matt




reply via email to

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