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: [EMAIL PROTECTED]> To: [EMAIL 
> PROTECTED]> 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.
http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_messenger_072008

Reply via email to