uCLinux

Home
Ports
Accessing CVS
Browse the CVS archive
uClibc.org
Privacy Policy
Linux News
uCdot embedded Linux news
Slashdot
Freshmeat
Linux Today
Linux.com
Linux Weekly News
LinuxDevices
uClinux Product Focused
uCdimm & ARM Development
NetTEL & Secure Edge
Knowledge Base
Linux HOWTOs
Kernelnotes
Linux.com software list
Security
BugTraq
Root Shell
Alerts

Valid HTML 4.0!

Accessing the uClinux Repository via CVS

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.
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.

I usually put the following into my ~/.cvsrc (this makes life better, trust me):
    -z3
    update -dP
    rdiff -u
    diff -ubBwpN
    checkout -P

This document last modified Thursday, 31-Aug-2006 20:58:32 EDT


Copyright © 2001, 2004 Arcturus Networks Inc.
Copyright © 2000-2002 Erik Andersen, Michael Durrant & Jeff Dionne
Mail all comments and suggestions to:
info@uclinux.org