info-cvs
[Top][All Lists]
Advanced

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

RE: Deletion of files in a project


From: Jim.Hyslop
Subject: RE: Deletion of files in a project
Date: Thu, 26 Feb 2004 17:38:52 -0500

> -----Original Message-----
> From: address@hidden [mailto:address@hidden
> Sent: Thursday, February 26, 2004 11:23 AM
> To: CVS list
> Subject: Re: Deletion of files in a project
> 
> 
> 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
> > http://mail.gnu.org/mailman/listinfo/info-cvs
> 
> Replying to my own post, because I solved my problems.
> 
> 1. A root password is a dangerous thing in some peoples' 
> hands.
Precisely why I actively avoid getting them ;-)

> 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.
Hmmm... well, the only thing I can think of offhand is the State - when CVS
moves the files to the Attic, it makes their state "dead". Manually moving
files around won't do that.

In future, of course, don't let anyone muck around with the Attic directory
(or anything in the repository, for that matter). All changes should go
through CVS.

-- 
Jim Hyslop 
Senior Software Designer 
Leitch Technology International Inc. (<http://www.leitch.com/>) 
Columnist, C/C++ Users Journal (<http://www.cuj.com/experts>) 






reply via email to

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