Subject: Re: Removing Empty Directories from a CVS Checkout
To: Curt Sampson <curt@portal.ca>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: current-users
Date: 10/05/1996 23:34:14
On Sat, 5 Oct 1996 23:35:01 -0700 (PDT) 
 Curt Sampson <curt@portal.ca> wrote:

 > Has someone got a utility to remove empty directories (those with
 > only a CVS subdirectory in them) from a CVS checkout? A few of
 > these appear in my tree because of moved or deleted files since I
 > started my NetBSD repository, and this blows up things like `make
 > obj'.
 > 
 > I just thought I'd ask before I wrote one of my own.

use the -P option to `co' and `update' ... it will prune directories
which don't contain any revision-controlled files.

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939