From a48d269edabfdf3de5253595568f7dce788b2beb Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 8 Nov 2003 00:33:02 +0000 Subject: Add some basic cvs usage info --- docs/uclibc.org/cvs_anon.html | 78 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) diff --git a/docs/uclibc.org/cvs_anon.html b/docs/uclibc.org/cvs_anon.html index ad9c8c87e..388626f39 100644 --- a/docs/uclibc.org/cvs_anon.html +++ b/docs/uclibc.org/cvs_anon.html @@ -79,6 +79,84 @@ able to commit any changes. Changes can be submitted for inclusion by posting them to the appropriate mailing list. + + + + + + + + + +
+ + How to use CVS + +
+ + +If you want to know all the gory details, you will want to visit +the CVS main web page.

+For the impatient, the following is probably about all you need to know: +

+ +

+
cvs checkout -c
+
Will list the modules available for checkout +
cvs checkout < module name >
+
Will checkout the named module +
cvs co < module name >
+
Same thing +
cvs update
+ +
Updates your local archive so it is in sync with the repository + -- your local updates are left intact. Tries to merge upstream updates + into your local updates. You will see the following tags when it is + updating your local repository: C means conflict, U means update, + P means patched, and M means modified. +
cvs up
+
Same thing +
cvs update < file name >
+
Same thing but for just the named file(s)/directory(s). +
cvs commit
+
Will check in all your work. +
cvs add < file name >
+ +
Adds the named file/directory into CVS +
cvs remove < file name >
+
Removes the named file/directory from the upstream repository. +
cvs rm < file name >
+
Same thing +
cvs log < file name >
+ +
Gives you the complete version history of what has happened to the named file(s). + Along with all tags, all commit messages, etc... +
cvs status < file name >
+
Gives you the current version number of the file(s) in question. +
cvs tag TAGNAME
+
Tags the versions of everything in the repository with the TAGNAME label. +
cvs tag TAGNAME < file name >
+
Tags the named file(s) in the repository with the TAGNAME label. +
cvs diff
+ +
Gives you the difference between the local repository and the upstream repository. +
cvs diff < file name >
+
Same but for the named file(s). +
cvs diff -r 1.5 < file name >
+
Same but gives you the difference between the named file(s) and + version 1.5 of the named file(s). +
cvs diff -r TAGNAME < file name >
+ +
Same but gives you the difference between the named file(s) and the + of the file tagged TAGNAME in the upstream repository. +
cvs rdiff -r TAGNAME module
+
Gives you a diff (that you can actually use with patch) between the current + version of module and the specified tagged version. +
cvs import < directory to import > < name for new module > start
+
Add a new module into the CVS archive. +

+ +

-- cgit v1.2.3