[Top][All Lists]

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

Re: Undo a Remove

From: Mark E. Hamilton
Subject: Re: Undo a Remove
Date: Thu, 02 Jun 2005 17:12:49 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913

Stephen Carville wrote:
Several file were inadvertently removed from a source tree and I need to get them back. I can see them in the Attic but cannot figure out how to get them back to where I can work in them. All I can find in the documentation is how to undo a remove _before_ the commit. Too late. I need to know how to undo the remove after a commit.

% ls test7.dat
ls: test7.dat: No such file or directory

% cvs add test7.dat
cvs add: Resurrecting file `test7.dat' from revision 1.16.
cvs add: Re-adding file `test7.dat' (in place of dead revision 1.17).
U test7.dat
cvs add: use 'cvs commit' to add this file permanently

% cat test7.dat
Test Message.
Test Message.

Mark E. Hamilton
Orion International Technologies, Inc.
Sandia National Laboratory, NM.

reply via email to

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