02.05.2013 Views

User Guide - MKS

User Guide - MKS

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.

Performing Member Operations<br />

branch revision numbers are prefixed with the number of the revision they<br />

start from. For example, if a branch revision is started from revision<br />

number 1.2, the members of that branch are numbered<br />

1.2.1.3<br />

1.2.1.2<br />

1.2.1.1<br />

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

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

on the branch.<br />

Assigning Revision Numbers<br />

By default, when you check in a member, Source Integrity 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 in, so<br />

long as your revision number:<br />

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

“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 />

Source Integrity attempts to add one to the revision number and check it in<br />

as that revision. If that revision already exists, Source Integrity then<br />

chooses the next available branch number and creates a new branch.<br />

For example, if you are checking in a new revision to an archive where the<br />

head revision is 1.7, the following numbers are valid:<br />

1.8 (greater than head revision)—if you check in a revision as 1.7,<br />

which already exists, Source Integrity assigns it 1.8<br />

1.10 (greater than head revision)<br />

1.72 (none of the numbers between 7 and 72 may be used afterwards)<br />

2.0<br />

1.7.1.1 (if it starts a new branch)<br />

1.7.0.1 (leading zero as the branch number)<br />

173

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

Saved successfully!

Ooh no, something went wrong!