From owner-freebsd-questions Fri Dec 11 18:01:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA29199 for freebsd-questions-outgoing; Fri, 11 Dec 1998 18:01:50 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from n4hhe.ampr.org (tnt3-10.HiWAAY.net [208.147.146.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA29175 for ; Fri, 11 Dec 1998 18:01:46 -0800 (PST) (envelope-from dkelly@n4hhe.ampr.org) Received: from n4hhe.ampr.org (localhost.ampr.org [127.0.0.1]) by n4hhe.ampr.org (8.9.1/8.9.1) with ESMTP id UAA99016 for ; Fri, 11 Dec 1998 20:01:35 -0600 (CST) (envelope-from dkelly@n4hhe.ampr.org) Message-Id: <199812120201.UAA99016@n4hhe.ampr.org> X-Mailer: exmh version 2.0.2 2/24/98 To: freebsd-questions@FreeBSD.ORG Subject: correct way to correct a CVS boo-boo? From: David Kelly Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 11 Dec 1998 20:01:34 -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Something I've done by mistake a couple of times: % cd /usr/src % cvs -q checkout -r RELENG_2_2 src This results in /usr/src/src. The question is how do I remove /usr/src/ src so a future "cvs -q update -P -d" in /usr/src doesn't complain about it missing? So far the best I've come up with is to grep for it in /usr/src/CVS/* then brute force delete the line(s) found. "cvs remove src" complains. And I'm lost in the manpage for CVS. The above checkout and update are the only two CVS commands I know. Something I'd like to be able to do is checkout only /usr/src/{lkm,sys} so in the future a single update in the /usr/src directory only does those two. I think a variation on the above would allow me to remove certain sections of /usr/ports that I'll never use. -- David Kelly N4HHE, dkelly@nospam.hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message