[Top][All Lists]

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

Re: Deletion of files in a project

From: xyzzy
Subject: Re: Deletion of files in a project
Date: Thu, 26 Feb 2004 18:22:39 +0200
User-agent: KMail/1.5.4

On Thursday 26 February 2004 11:59 am, address@hidden wrote:
> Greetings,
> In the course of normal development, at least two entire directories of
> files were removed for a particular revision.
> I find myself needing to go back to an earlier revision of the project
> before the deletion of these files.
> I have two different situations on my hands now, both bad:
> 1. directory a/b is in the 'Attic' of a, but running either cvs checkout -r
> revold or cvs update -d -r revold does not bring these files into my
> working copy.
> 2. directory c/d is NOT in the 'Attic' of c.  Does this mean that they are
> lost and must be restored from backup?  How do I then reconcile the
> revisions so it looks like I want?
> Situation 1 is distressing because I can't access the files or the
> directory of b.  What can I do about this?
> Situation 2 is weirder and I don't know the exact commands that were used
> to delet these files.  Looking at CVSROOT/history only shows 'R' for those
> files with no removal of the directory.
> Am I looking at CVS bugs?
> Any help would be appreciated.
> _______________________________________________
> Info-cvs mailing list
> address@hidden

Replying to my own post, because I solved my problems.

1. A root password is a dangerous thing in some peoples' hands. Instead of 
allowing CVS to do its job the way it should, the files were removed using 
CVS and then everything was moved into 'Attic', including subdirectories.  
This made them inaccessible to CVS based on the tag.  I simply moved all 
directories out of Attic all the way down the tree and moved any other files 
back into Attic.

2. Restored the CVS ,v files from backup, created Attic directories, moved 
just the files there.

I hope this was the right way to go about it, since everything seems to work 
correctly now.

reply via email to

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