=================================================================== RCS file: /cvsrepo/anoncvs/cvs/www/Attic/translation-explained.html,v retrieving revision 1.8 retrieving revision 1.9 diff -c -r1.8 -r1.9 *** www/Attic/translation-explained.html 2005/07/02 00:35:25 1.8 --- www/Attic/translation-explained.html 2005/07/12 20:51:57 1.9 *************** *** 513,524 ****
! $ cvs log badfile
! $ cvs log somefile
*************** *** 527,544 **** checkout the previous revision and commit it to fix the issue.
! $ rm badfile ! $ cvs co -r1.191 badfile
! 1.191 is just the previous revision before 1.192. Now, you ! have it in your working copy and you can commit to restore things.
! $ cvs commit -m "restoring previous version" badfile
! $ cvs update -A somefile ! $ rm somefile ! $ cvs update -p -r1.191 somefile > somefile
! 1.191 is indeed the previous revision. It is now in your working ! copy. You should commit it to restore the file to a working state:
! $ cvs commit -m "restoring previous version" somefile+ +
+ $ pwd + ...devel/openbsd/steelix-www/.../baddir + $ cvs remove somefile + $ mv somefile path/to/gooddir + $ cd path/to/gooddir + $ pwd + ...devel/openbsd/steelix-www/.../gooddir + $ cvs add somefile + $ cvs commit -m "move file to the right location" somefile ++