info-cvs
[Top][All Lists]
Advanced

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

RE: Restoring Dead Files


From: Res Pons
Subject: RE: Restoring Dead Files
Date: Wed, 9 Jul 2008 17:58:55 -0700

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?
 
Thanks







> Date: Wed, 9 Jul 2008 17:45:34 -0600
> From: address@hidden
> To: address@hidden
> CC:
> Subject: Re: Restoring Dead Files
>
>
> Todd Denniston wrote:
>
>
> > C) The user issued the equivalent of
> > `cvs remove -f image_cust1.JPG` and `cvs commit`
> > [removed it from the sandbox and the repository]
>
>
> > B) _could_ be recovered from by _carefully_ hand editing the CVS/Entries
> > file. {I recommend waiting a bit to see if anyone else responds before
> > using this option, i.e., to a newbie 'here be dragons'.}
> > B & C) should be able to recover from using the method you have used
> > below. (but I think from the errors you got, that A was what was
> > used...i.e. they only did an OS remove not a cvs remove.)
>
> I wouldn't edit the files by hand, but use rcs:
> 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
>
>
> --
> Yves.
> http://www.SollerS.ca
>
>
>



Need to know now? Get instant answers with Windows Live Messenger. IM on your terms.

reply via email to

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