CVS workflow.
--- a/cvs.rst Sat Sep 24 15:12:11 2011 +0300
+++ b/cvs.rst Sat Sep 24 15:22:30 2011 +0300
@@ -37,3 +37,58 @@
writers # list of pseudo usernames can write via cvspserver
passwd # encrypted passwd string with (htpasswd from apache)
+CVS workflow.
+=============
+
+Check out sources::
+
+ $ cvs co -P $proj
+
+Status of changes::
+
+ $ cvs status
+
+Compare local changes::
+
+ $ cvs diff -u $path
+
+Creating patch::
+
+ $ cvs diff -N -u -r >$patch
+
+History of changes::
+
+ $ cvs log $file
+
+Remove a file::
+
+ $ rm $file # must first remove it locally
+ $ cvs rm $file # schedules it for removal
+
+Add a file::
+
+ $ cvs add $file
+
+Check in local changes::
+
+ $ cvs ci
+
+Update local sources::
+
+ $ cvs update
+
+Move a file can not be done cleanly at the local level. The best way to do this
+with CVS is to go to the cvsroot repository and move the file or directory
+within the repository there. The cvsroot repository keeps all files in their RCS
+form of filename,v . The next cvs update will manifest the file move.
+
+Tagging sources::
+
+ $ cvs tag $name
+ $ cvs rtag $name
+
+Revert file::
+
+ $ rm $file # remove it from local sources
+ $ cvs update $file # get a new copy from the repository
+