Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jan 2000 14:06:33 +0100
From:      Alexander Langer <alex@big.endian.de>
To:        Boris Popov <bp@butya.kz>
Cc:        Wilko Bulte <wilko@yedi.iaf.nl>, FreeBSD hackers list <FreeBSD-hackers@FreeBSD.ORG>
Subject:   Re: moving CVS repository
Message-ID:  <20000109140633.A3812@cichlids.cichlids.com>
In-Reply-To: <Pine.BSF.4.10.10001091854030.5106-100000@lion.butya.kz>; from bp@butya.kz on Sun, Jan 09, 2000 at 06:59:23PM %2B0600
References:  <20000109124420.A60996@yedi.iaf.nl> <Pine.BSF.4.10.10001091854030.5106-100000@lion.butya.kz>

next in thread | previous in thread | raw e-mail | index | archive | help
Thus spake Boris Popov (bp@butya.kz):

> > This has the side-effect(?) that all sources checked out from the 'old'
> > repository location have references to /local/CVSfoo whereas cvs update
> > obviously wants to have the references to /local2/CVSfoo.
> 	The simplest way is to replace content of CVS/Root files. They
> contain full path to repository.

Yes. Shell is your friend.

find /local2/CVSfoo -name "Root" | xargs sh -c "mv $a $a.old ; sed -e
's:/local/:/local2/:g' $a.old > $a && rm $a.old"

or something.

Alex

-- 
I doubt, therefore I might be. 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000109140633.A3812>