[MPlayer-DOCS] CVS: main/DOCS/tech cvs-howto.txt,1.12,1.13

Diego Biurrun CVS syncmail at mplayerhq.hu
Mon Mar 15 02:46:06 CET 2004


CVS change done by Diego Biurrun CVS

Update of /cvsroot/mplayer/main/DOCS/tech
In directory mail:/var2/tmp/cvs-serv11305

Modified Files:
	cvs-howto.txt 
Log Message:
Explain why 'cvs admin' should only be used on the last revision of a file.


Index: cvs-howto.txt
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/tech/cvs-howto.txt,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- cvs-howto.txt	15 Mar 2004 01:37:36 -0000	1.12
+++ cvs-howto.txt	15 Mar 2004 01:46:03 -0000	1.13
@@ -95,13 +95,19 @@
 9. Reverting broken commits
 
   In case you committed something really broken and wish to undo it completely,
-  you can use the 'cvs admin -o' command. Assuming that 1.123 is the latest
-  version of the file and the one you want to remove
+  you can use the 'cvs admin -o' command, which removes entries from the
+  revision history of a file. For the corner case that you remove the last
+  revision this amounts to reverting a commit.
+
+  Assuming that 1.123 is the last revision
 
     cvs -z3 admin -o1.123 filename
 
-  Do NOT do this unless you really know what you are doing and the version you
-  are removing is the last version, e.g. there were no commits after yours.
+  will remove revision 1.123, thus reverting the file back to revision 1.122.
+
+  ONLY use this command to delete the LAST revision of a file. Removing other
+  revisions will NOT undo the changes from that revision in the last revision
+  and leave holes in the revision history.
 
 
 Contact A'rpi <arpi at thot.banki.hu> if you have technical problems with the CVS




More information about the MPlayer-DOCS mailing list