[Top][All Lists]

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

Re: Restoring Dead Files

From: Yves Dorfsman
Subject: Re: Restoring Dead Files
Date: Sat, 12 Jul 2008 11:49:06 -0600
User-agent: Thunderbird (X11/20080501)

Res Pons wrote:
 > 1) move the file from the dead directory back to its original location
 > 2) find out the last version of the file before it got deleted:
 > rlog file_name |grep 'revision ' |head -1 |cut -f 2 -d" "
 > 3) assuming you get 1.14, do:
 > rcs -sEXP:1.14 file_name

> Are you saying I should run the commands you listed in addition to what
> I ran earlier,
> meaning I run yours first and once I have the file in place, I can run
> cvs add & ci?
> I ran rlog file_name,v |grep 'revision ' |head -1 |cut -f 2 -d" "
> note the ,v I added. My original file was at version 1.1, the deleted
> version was as
> at 1.2 and when I ran the above command it shows 1.2.  So do I wanna run
> rcs -sEXP:1.14 file_name with ,v also? Secondly, do I wanna say
> -sexp:1.1 or 1.2?

You use "1.2". Yes, you use the ,v file in those transactions (there shoul donly be ,v files in your repository). You moved the file back from the "Attic" directory right ? If you don't cvs won't show the file. The order does not matter (you can move the file before or after you have applied the rcs surgery).


reply via email to

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