From owner-freebsd-hackers Sun Jan 9 5: 6:39 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from cichlids.com (as10-063.rp-plus.de [149.221.96.63]) by hub.freebsd.org (Postfix) with ESMTP id 55EB714E5F for ; Sun, 9 Jan 2000 05:06:35 -0800 (PST) (envelope-from alex@cichlids.com) Received: from cichlids.cichlids.com (cichlids.cichlids.com [192.168.0.10]) by cichlids.com (Postfix) with ESMTP id 3EE7CAB92; Sun, 9 Jan 2000 14:06:44 +0100 (CET) Received: (from alex@localhost) by cichlids.cichlids.com (8.9.3/8.9.3) id OAA03858; Sun, 9 Jan 2000 14:06:34 +0100 (CET) (envelope-from alex) Date: Sun, 9 Jan 2000 14:06:33 +0100 From: Alexander Langer To: Boris Popov Cc: Wilko Bulte , FreeBSD hackers list Subject: Re: moving CVS repository Message-ID: <20000109140633.A3812@cichlids.cichlids.com> References: <20000109124420.A60996@yedi.iaf.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from bp@butya.kz on Sun, Jan 09, 2000 at 06:59:23PM +0600 X-PGP-Fingerprint: 44 28 CA 4C 46 5B D3 A8 A8 E3 BA F3 4E 60 7D 7F X-Verwirrung: Dieser Header dient der allgemeinen Verwirrung. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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