From owner-freebsd-hackers Sun Jan 9 16:16:51 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from orthanc.ab.ca (orthanc.ab.ca [207.167.3.130]) by hub.freebsd.org (Postfix) with ESMTP id CBB4A14A00 for ; Sun, 9 Jan 2000 16:16:43 -0800 (PST) (envelope-from lyndon@orthanc.ab.ca) Received: from orthanc.ab.ca (localhost [127.0.0.1]) by orthanc.ab.ca (8.10.0.Beta11/8.10.0.Beta6) with ESMTP id e0A0FQP07232; Sun, 9 Jan 2000 17:15:26 -0700 (MST) Message-Id: <200001100015.e0A0FQP07232@orthanc.ab.ca> To: nate@mt.sri.com (Nate Williams) Cc: Alexander Langer , Boris Popov , Wilko Bulte , FreeBSD hackers list Subject: Re: moving CVS repository In-reply-to: Your message of "Sun, 09 Jan 2000 11:39:31 MST." <200001091839.LAA16606@mt.sri.com> Date: Sun, 09 Jan 2000 17:15:25 -0700 From: Lyndon Nerenberg Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> "Nate" == Nate Williams writes: Nate> find /local2/CVSfoo -name Root -print | fgrep CVS | perl -pi Nate> -e 's#/local#/local2/#g;' Perl? Bah! (I wrote this to also handle a rename of our CVS server. Adjust as necessary.) #!/bin/sh for i in `find . -type d -name CVS -print`; do if [ -f $i/Root ] ; then echo ':kserver:cvs.example.org:/cvs' > $i/Root fi if [ -f $i/Repository ] ; then ed $i << _EOF %s;/usr/local/cvs/sendmail;/cvs/sendmail; w q _EOF fi done To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message