The command prcs checkout
creates working copies of the files
(and directories) in a project version, usually rooted in the current working
directory. For example,
% prcs checkout -r0.1 P1
checks out version 0.1 (minor version 1 of major version 0) of project P1, creating the subdirectory doc, if needed. If you didn't specify a major version name when you created the project it defaulted to '0' and this is the initial version with no files. You needn't be quite so specific in specifying the version:
% prcs checkout -r1 P1
or
% prcs checkout -r1.@ P1
checks out the latest minor version of major version 1 of P1. If you use only numerals for your major versions, you may even leave off the -r altogether to get the latest version checked into the repository.
It is not necessary to check out an entire version at once; you may specify selected directories or files instead. For example
% prcs checkout -r0.2 P1 main.c header.h
checks out just the file main.c from version 0.2 of P1, and
% prcs checkout -r0.1 P1 doc
checks out the doc directory (and all files contained in and below it) from version 0.1 of P1.