=================================================================== 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 ****

Reverting a change

! If you have committed a file in a wrong directory, or which has ! problems, you have to revert the commit as soon as possible. To do ! such thing with badfile, you can do:
!    $ cvs log badfile
  

--- 513,525 ----

Reverting a change

! If you have committed a file and you discover that your commit breaks ! something, you have to revert the commit as soon as possible. Assume the ! problem lays in a file called somefile. Follow the procedure ! below to revert it to an unbroken revision:
!    $ 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
  

Translation Guidelines

--- 528,565 ---- checkout the previous revision and commit it to fix the issue.
!    $ 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
  
+ +

Committing in a bad directory

+ If you have committed a file in a bad directory, you have to fix things + by moving it to the right directory as soon as possible. Assume you have + committed somefile to baddir while it should really go + into gooddir. Here is the procedure to correct your mistake: + +
+    $ 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
+ 
+

Translation Guidelines

*************** *** 785,791 **** www@openbsd.org
! $OpenBSD: translation-explained.html,v 1.8 2005/07/02 00:35:25 saad Exp $ --- 806,812 ---- www@openbsd.org
! $OpenBSD: translation-explained.html,v 1.9 2005/07/12 20:51:57 saad Exp $