Monday, March 17, 2008

The export Command

The export command enables you to export files from the main CVS repository to another directory, which is not controlled by CVS. This is useful when you want to release a software version or halt a project at a given stage.

For example, to export the CVS project, my_project, to a new directory, where the revision date of the files is not later than yesterday, the syntax is:

$ cvs export –D yesterday –d /usr/local/new my_project

lists the various options that you can use with the export command:

Option Description

-f Retrieves the most recent revision of a file.

-n Disables the checkout program.

-R Exports directories recursively.

-d Creates the working directory.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home