From owner-freebsd-questions Tue Sep 26 17:40:17 2000 Delivered-To: freebsd-questions@freebsd.org Received: from stjohn.stjohn.ac.th (stjohn.stjohn.ac.th [202.21.144.1]) by hub.freebsd.org (Postfix) with ESMTP id 20EC037B423; Tue, 26 Sep 2000 17:40:04 -0700 (PDT) Received: from granite.impoffice.ac.th ([203.151.134.100]) by stjohn.stjohn.ac.th (8.9.3/8.9.3) with SMTP id HAA20761; Wed, 27 Sep 2000 07:35:11 +0700 (GMT) Message-Id: <3.0.6.32.20000927074132.0087dd00@stjohn.stjohn.ac.th> X-Sender: mcrogerm@stjohn.stjohn.ac.th X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Wed, 27 Sep 2000 07:41:32 +0700 To: Mark Ovens From: Roger Merritt Subject: Re: FAQ's (was: Makeworld is dying...) Cc: questions@FreeBSD.ORG In-Reply-To: <20000924120734.B252@parish> References: <20000924104652.A1327@freebee.attica.home> <39C42DF4.978A63C@urx.com> <20000917160006.D67912@wantadilla.lemis.com> <20000918154418.P8111@moose.bri.hp.com> <20000924095410.A65590@wantadilla.lemis.com> <20000924092354.A473@freebee.attica.home> <20000924003413.A2018@Odin.AC.HMC.Edu> <20000924104652.A1327@freebee.attica.home> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 12:07 PM 9/24/00 +0100, Mark Ovens wrote: > >If you do forget to build a checkouts file first (as per Q12 of the cvsup >FAQ) then there is a utility in the cvsup tarball (it doesn't get >installed) which will list any dead files in your source tree. > > # cd /usr/ports/net/cvsupd-bin/ > # make extract > # cd work/cvsup-16.1/contrib/cvsupchk > # ls > README cvsupchk > # cat README > README.cvsupchk > --------------- > > cvsupchk is a python script that checks a CVSup maintained directory > hierarchy against the corresponding CVSup checkouts file. It looks for > a number of anomalies: missing checked out files, deleted files being > present, extra RCS files, 'dead' directories being present and so on. > >[snip] > > >I just cp(1)'d it to /usr/local/bin. Although I followed Q12 when I first >set up cvsup running cvsupchk after ~18 months it found loads of spurious >files in /usr/src. Many of which were from when I'd been hacking and left >old copies of originals and diff files etc. so it's useful for clearing >these out. > >HTH > I took a quick look at that three or four months ago and thought it was interesting, but at the time hadn't installed Python on that particular machine so wasn't able to try it. After seeing your e-mail I went back to /usr/ports/net/cvsupd-bin/work/cvsupd-bin-16.1/contrib and guess what... cvsupchk ain't there any more! I just did the 'make extract' as you suggested, the machine had to download the tarball, and whammo! The only files in that directory are README, cvsupwho, and cvsup2httplog. The README file says cvsupchk and cvsup2html should be there too, but they aren't! Pity. It sounds like a really useful tool. -- Roger To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message