[Top][All Lists]

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

Re: Undoing Deletes

From: Larry Jones
Subject: Re: Undoing Deletes
Date: Tue, 5 Mar 2002 11:20:52 -0500 (EST)

Donald Gates writes:
> My question is: How do I "undo" the deletion of the files and restore the
> module to its "pre-deletion" state?

Find the revision number of the dead revision: you can use "cvs log" in
your working directory to do that, you just have to give it the name of
the deleted file.  Once you have the dead revision, undo it by using
"cvs update" with two -j options.  For example, if the dead revision is

        cvs up -j 1.11 -j 1.10 file

After you've resurrected all the files, commit the changes.

-Larry Jones

Who, ME?  Who?! Me??  WHO... Me?!  Who, me??? -- Calvin

reply via email to

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