[Top][All Lists]

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

Re: Readding deleted files

From: Cristian Gheorghe
Subject: Re: Readding deleted files
Date: 15 Mar 2002 06:40:28 -0800

address@hidden (Larry Jones) wrote in message news:<address@hidden>...
> Cristian Gheorghe writes:
> > 
> > I have removed a file (cvs rm command) which now needs to go back into
> > the project with the same name and in the same directory. The file
> > which was removed is now in the repository Attic directory. What
> > command can I use to be able to "reactivate" the file?
> Do you want to recover the old contents, or just create a brand new file
> with the same name?  If you want to recover the old contents, use update
> with two -j options to undo the remove.  For example, if "cvs log" says
> the current revision of the file is 1.40 (with state "dead"), do:
>       cvs up -j 1.40 -j 1.39 file
> If you want a brand new file with the same name, just "cvs add" it and
> CVS will more the RCS file out of the Attic when you commit it.
> -Larry Jones
> That's the problem with nature.  Something's always stinging you
> or oozing mucus on you. -- Calvin

Sorry for not specifying that. I wanted the file with the old
contents. The file should not have being removed in the first place.
The update with two 'j's worked. Thank you Larry.


reply via email to

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