Node: admin, Next: , Previous: changes, Up: Subcommands



Prcs admin

prcs admin subfunction [option ...] [operand ...] Command

Perform various administrative subfunctions that generally have no effect on the abstract state of the repository. The available functions are as follows.

compress [project] Subfunction

Encourages PRCS to save space in storing the data for project, even at the expense of slower processing. This command may take some time to execute. Interrupting it in the middle is safe, although it may lead to somewhat erratic space-saving behavior.

uncompress [option] [project] Subfunction

ADDITIONAL OPTIONS: -i

Encourages PRCS to save time in processing commands against project, even at the expense of using more space--perhaps considerably more. With the -i option, PRCS will immediately expand the entire representation of project. Without the -i option, PRCS will increase its use of space only as needed. If disk space should run out, PRCS will leave the repository in a correct state.

access [project] Subfunction

With the optional operand, interactively sets read and write permissions to all versions of project, in the repository, and (on systems that provide it) sets the group to which the files belong. This command allows the owner of a project in a repository to restrict the access that others have to its contents. One can specify that these files may only be read or may not be accessed at all.

Without a project operand, interactively sets read and write permissions to the repository itself, both for members of the repository directory's group, and for all other users. One must have at least read access to the repository to look at or check out any project (in addition to having appropriate access to the project itself). You must have write access to the repository to create new projects in it.

rebuild [option ...] [project] Subfunction

Rebuilds internal repository data on project, possibly removing file storage for deleted project versions and verifying the integrity of all project versions. With the -l option, reports deletions. Unless there has been damage to the repository, this command generally has no visible effect on the notional contents of the repository.

init project Subfunction

Create a new project in the repository containing no (non-empty) versions. Performing a prcs checkout on a non-existent project creates a blank working project descriptor without modifying the repository. The first prcs checkin for that project then creates a new entry in the repository. Normally, no other explicit initialization for the project's entry in the repository is necessary. However, with this method it is impossible to perform a prcs access before the first check-in, because there is no record of the new project in the repository. With prcs init, you can create a repository entry (containing no versions) that you can modify with prcs access.

pdelete project Subfunction

Deletes a repository entry, permanently removing all versions and data from the repository.

pinfo Subfunction

Lists all projects in the repository.

prename project Subfunction

Renames a repository entry, similar to renaming during prcs unpackage.