info-cvs
[Top][All Lists]
Advanced

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

Re: Permanently removing directory tree from CVS repository


From: Rob Helmer
Subject: Re: Permanently removing directory tree from CVS repository
Date: Thu, 29 Mar 2001 13:12:47 -0800
User-agent: Mutt/1.2.5i

Hello,


This is the proper operation. CVS uses a normal file structure with RCS
files on the backend; if the directories are removed CVS will not be
able to restore the original structure. You would be circumventing the 
version control system.

If CVS used some kind of database backend this would be possible perhaps,
but I think it makes alot more sense the way it is.

Just make sure you are using these options ( set this in your .cvsrc ) :

update -dP

You will not see empty directories on updates with the -P option.
( -d checks out new directories, it is not really within the scope of
this email but you should have it in your .cvsrs ;)



HTH,
Rob Helmer



On Thu, Mar 29, 2001 at 12:21:08PM -0800, John Schmitt wrote:
> I've never found a way to do this.  I've always gone right to the repository
> and killed it there manually.
> 
> Please share if you get a better way to do this.
> 
> John
> 
> -----Original Message-----
> From: Ezequiel Valenzuela [mailto:address@hidden
> Sent: Wednesday, March 28, 2001 8:23 PM
> To: info-cvs mailing list
> Subject: Permanently removing directory tree from CVS repository
> 
> 
> Hi!
> 
> Recently I have added a directory tree to my CVS repository which I don't
> want to be there anymore (more specifically, it's been added erronously).
> 
> I have executed:
> 
> $ cvs remove -Rf <module>
> 
> and then:
> 
> $ cvs commit
> 
> from the right working directory.
> 
> I don't remember quite exactly what other commands I ran, but the repository
> is ok (from the integrity point of view). I have not touched the repository
> files directly.
> 
> The thing is, I have now (in my repository) that directory tree 'removed'
> from the repository, but only at the file level. The directories remain
> there! There is only the 'Attic' directory at the very end of the tree,
> holding the deleted files (in the format 'filename,v').
> 
> How can I do to make a 'politically correct' removal of the whole thing? I
> have no interest on keeping my 'Attic' for that directory at all, and I want
> to do this through cvs commands if possible.
> 
> 
> 
>    Ezequiel Valenzuela
>    [ address@hidden ]
> 
> 
> _______________________________________________
> Info-cvs mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/info-cvs
> 
> _______________________________________________
> Info-cvs mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/info-cvs
> 



reply via email to

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