02.05.2013 Views

The Source Integrity Professional Edition User Guide - MKS

The Source Integrity Professional Edition User Guide - MKS

The Source Integrity Professional Edition User Guide - MKS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Managing Archives and Revisions<br />

Checking In—<br />

State Settings<br />

For more information on this<br />

more structured use of state<br />

settings, consult the States<br />

configuration option and the<br />

Promote and Demote SAM<br />

permissions.<br />

For example, the following command reassigns the label “Revised” to<br />

the revision being checked in to prog.c archive.<br />

ci -u -NRevised prog.c<br />

To reassign a label from one existing revision to another in an archive,<br />

use the rcs command. To reassign the label “Revised” from another<br />

revision of prog.c to revision 1.1 of the same file, enter the command<br />

rcs -NRevised:1.1 prog.c<br />

At check-in time, state settings are added with the -sstate option to<br />

the ci command, where state is the state setting for the new revision.<br />

State settings can also be used to establish and enforce promotion<br />

policies at your site.<br />

For example, the command<br />

ci -sReview prog.c<br />

checks in prog.c and sets the state of the new revision to “Review”.<br />

Viewing and Editing Archive Information<br />

Just as it maintains metadata about each project member, <strong>Source</strong><br />

<strong>Integrity</strong> also maintains extra information about each archive, called<br />

archive information.<br />

In the Windows interface, you can view and edit information about<br />

an archive using the Archive > Archive Information command. Unlike<br />

most <strong>Source</strong> <strong>Integrity</strong> commands, which can be accessed from<br />

sandboxes and projects, this command is available only when an<br />

Archive window is active.<br />

To see an archive’s information:<br />

1. With an Archive window active, choose Archive > Archive<br />

Information, or click .<br />

<strong>The</strong> Archive Information dialog box appears.<br />

176 <strong>Source</strong> <strong>Integrity</strong> <strong>Professional</strong> <strong>Edition</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!