info-cvs
[Top][All Lists]
Advanced

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

Re: Retrieving dead files from the Attic


From: Todd Denniston
Subject: Re: Retrieving dead files from the Attic
Date: Thu, 26 May 2005 09:57:55 -0500

"Deborah Comeau (LCL)" wrote:
> 
> Hi
> 
> I am also interested in the best way to retrieve dead files. We have had
> several files and some directories deleted properly through CVS. We are
> working only on the head (no branches or tags yet, as it is a new
> project). I have run a few unix commands to determine which files were
> removed, (removed by one person on May 18th), but do not have the latest
> revision numbers. What is the best/proper way to retrieve these files
> from the Attic?
> 
> Deb Comeau
in a sandbox you can issue 
cvs history -cal name_of_removed_file
or
cvs log name_of_removed_file
to get the version numbers.

i.e. I issue:
cvs history -cal  $PATH/Makefile
and get:
R 2005-02-16 01:20 +0000 tdennist 1.8 Makefile $PATH == <remote>

The R at the begining is where it was removed, 1.8 is the 'dead' version, so
to get back a live version...
cvs checkout -r1.7 -p $PATH/Makefile > $PATH/Makefile
cvs add $PATH/Makefile
I think...

This is not intended to be direction to a gov contractor to do anything,
just a listing of information which _may_ answer the question which was
asked.
-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane) 
Harnessing the Power of Technology for the Warfighter
The opinions expressed here are not sanctioned by and do not necessarily 
represent those of my employer.

reply via email to

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