[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Removing an empty directory

From: Alan D. Salewski
Subject: Re: Removing an empty directory
Date: Wed, 5 Mar 2008 13:08:00 -0500
User-agent: Mutt/1.5.13 (2006-08-11)

On Wed, Mar 05, 2008 at 09:31:00AM -0600, Malhotra, Neti spake thus:
> All,
> I created an empty directory in my repository that I realized I don't
> need.  Is it possible to remove it completely so I don't see it when
> checking out?  If I remember correctly, removing the directory in the
> actual repository (where the ,v files are) works without any
> repercussions.  Is that right?

That's correct AFAIK, but you may just want to do:

    $ cvs checkout -P
    $ cvs update -P

That will cause any empty directories to be removed ("pruned").

In my experience, it is common for most projects, over time, to end up
with both empty directories and new directories; that's why it is also
common to invoke 'cvs update' in any project working directory as:

    $ cvs update -dP

Unless you /really/ don't want that empty directory in your repository
(inode shortage?   ;-), I'd just use the above approach and not worry
about it.


a l a n   d.   s a l e w s k i             address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]