info-cvs
[Top][All Lists]
Advanced

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

Re: Hack to remove empty dir from CVS repository


From: Russ Sherk
Subject: Re: Hack to remove empty dir from CVS repository
Date: Mon, 25 Apr 2005 11:50:49 -0400

Hold on there.  DataProvider is a directory under $CVSROOT?  This
means that it is a module.  Does this directory get checked out when
you check out another module?

(The way your question is posed, it appears that you are seeing
DataProvider as a sub dir of other checked out modules.)

--Russ

On 4/25/05, Thomas Phelan <address@hidden> wrote:
>  
>  
> 
> I understand it is not possible to remove a directory from CVS.  The best
> you can do remove every file in it and prune (-P) the empty dir every time
> you do a checkout or update of the module that contains the directory. 
> 
>   
> 
> I want to get around this limitation by manually deleting a directory inside
> my CVS repository.  I would like to hear a guru tell me which files need to
> be tweaked under CVSROOT to keep my repository stable after I do this. 
> 
>   
> 
> I want to delete a directory, DataProvider, that is immediately under my
> $CVSROOT directory.  It is completely empty and has never contained any
> files.  There is nothing in it, not even a CVS dir.  
> 
>   
> 
> $ cd $CVSROOT 
> 
> $ ls 
> 
> CVSROOT/       DataProvider/  Meteor2.1/     Meteor3.2/ 
> 
> $ cd DataProvider 
> 
> $ ls 
> 
> $ 
> 
>   
> 
> I did a grep of the configuration files in CVSROOT for DataProvider to see
> if there were any references I had to delete and found nothing. 
> 
>   
> 
> $ cd $CVSROOT/CVSROOT 
> 
> $ grep DataProvider * 
> 
> $ 
> 
>   
> 
> So, is it ok for me to just do the following? 
> 
>   
> 
> $ cd $CVSROOT 
> 
> $ rmdir DataProvider 
> 
>   
> 
> Thanks. 
> _______________________________________________
> Info-cvs mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/info-cvs
> 
> 
>




reply via email to

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