Subject: Re: Getting the latest pkgsrc.tar.gz
To: Rakhesh Sasidharan <rakheshster@gmail.com>
From: Geert Hendrickx <ghen@telenet.be>
List: pkgsrc-users
Date: 05/28/2006 11:59:00
On Sun, May 28, 2006 at 01:36:14PM +0400, Rakhesh Sasidharan wrote:
> Oh ok. Quick question: A package usually has files like "Makefile" and
> "PLIST" and "DESCR" and so on. Once the package is no longer maintained,
> these files wont be there in the repository. So does "cvs up -dP" take
> care of removing these files from the unmaintained package directory the
> local tree, or do these files too remain?
> 
> I would have assumed that yes, "cvs up -dP" does remove a file from the
> local store if its not present in the repository, but then that would
> mean all the local README.html files too would have been removed long ago
> by the command (they are present locally but not in the repository).
> Which is obviously not the case ...

Because the README.html files are not under revision control, cvs doesn't
touch them.  And if a directory is not empty, cvs up -dP doesn't prune it.  

If you want to get rid of all the README.html files at once, you can do: 

find /usr/pkgsrc -name README.html | xargs rm

	Geert