Categories
How To Programming

Exporting A CVS Module

Here is another one of those things that I do often enough to know that there is way to do it, but infrequently enough to forget exactly how to do it. This time it was remembering how to get a cvs module without all of those CVS directories that are used in working copies of the module. The command I was looking for is ‘cvs export’, instead of ‘cvs checkout’. The export command also requires a date or tag to be specified so that the export can be reproduced. If you aren’t worried about that and just want an export as of right now you can use NOW as the date. This would look something like this:

cvs -d /home/cvs export -DNOW mymodule