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.

Getting Started With Projects, Sandboxes, and Members<br />

Assigning<br />

Revision<br />

Numbers<br />

revisions on the trunk are characterized by two-part revision<br />

numbers (for example, 1.2 or 3.5), branch revision numbers are<br />

prefixed with the number of the revision they start from. For<br />

example, if a branch revision is started from revision number 1.2, the<br />

members of that branch is numbered<br />

1.2.1.3<br />

1.2.1.2<br />

1.2.1.1<br />

and so on. <strong>The</strong> first two digits of the number identify the revision<br />

where the branch diverges from the trunk, and the last two represent<br />

a position on the branch.<br />

To start a branch during the check-in operation:<br />

1. Check out a revision (other than the tip of the trunk) locked.<br />

2. Make the desired changes to the working file.<br />

3. Check in the working file, without specifying a new revision<br />

number. By default, <strong>Source</strong> <strong>Integrity</strong> detects that this is a new<br />

branch and assigns an appropriate four-part revision number. For<br />

example, if you have checked out and locked revision 1.2, the<br />

new revision has the number 1.2.1.1 assigned to it. In the<br />

Windows interface, the revision number field is primed with the<br />

appropriate number.<br />

By default, when you check in a file, <strong>Source</strong> <strong>Integrity</strong> automatically<br />

assigns a unique revision number to the new revision. It does this by<br />

incrementing the current revision number by one. For example, if the<br />

previous revision is 1.3, the new revision is assigned number 1.4.<br />

You can choose the revision number of the changes you are checking<br />

in, so long as your revision number<br />

is greater than the last revision number (you cannot use<br />

previously “skipped” revision numbers)<br />

has no leading zeros (zeros as complete revision numbers are<br />

acceptable)<br />

starts a new branch based on an existing revision<br />

If you check in a revision using an already existing revision number,<br />

<strong>Source</strong> <strong>Integrity</strong> attempts to add one to the revision number and<br />

check it in as that revision. If that revision already exists, <strong>Source</strong><br />

<strong>Integrity</strong> then chooses the next available branch number and creates a<br />

new branch.<br />

88 <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!