| Subject: | Re: Restoring Dead Files |
|---|---|
| From: | Yves Dorfsman <yves@xxxxxxxxx> |
| Date: | Wed, 09 Jul 2008 17:45:34 -0600 |
| Newsgroups: | gnu.cvs.help |
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 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: CVSNT versus CVS, Arthur Barrett |
|---|---|
| Next by Date: | RE: Restoring Dead Files, Res Pons |
| Previous by Thread: | Re: Restoring Dead Files, Todd Denniston |
| Next by Thread: | RE: Restoring Dead Files, Res Pons |
| Indexes: | [Date] [Thread] [Top] [All Lists] |