02.05.2013 Views

User Guide - MKS

User Guide - MKS

User Guide - MKS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Apply CP Backfill Options<br />

Using the Apply CP Command<br />

The Apply CP command operates recursively. To apply a change package,<br />

Source Integrity searches the specified change packages for revision<br />

changes between the current revision and the target revision.<br />

Backfill<br />

Option (GUI)<br />

Entire Change<br />

Packages<br />

Back<br />

Revisions Only<br />

Backfill<br />

Option (CLI)<br />

Function<br />

cp Selected by default for the Apply CP<br />

command. Recursively finds all historic<br />

revisions required by the specified change<br />

packages and applies them. It does not ask<br />

the user to confirm the backfill list.<br />

revision Processes only the changes in the specified<br />

change package(s). Any change packages<br />

associated with intermediate revisions are<br />

not picked up.<br />

Note: Processing by revision reduces the<br />

total number of changes you bring into the<br />

variant; however, this option may result in<br />

broken builds because indirectly associated<br />

files are not picked up.<br />

Error error Results in an error if other change packages<br />

are required but not specified.<br />

Skip Revisions skip Results in an error if any backfill revisions are<br />

specified during the Apply CP operation.<br />

Ask to Specify ask Displays the backfill list. To complete the<br />

Apply CP operation, you must accept the<br />

entire list. If you decline the list, the Apply CP<br />

operation fails.<br />

In the Apply CP operation, you must accept the entire backfill list or the<br />

operation fails. If you do not want to accept the entire backfill list, you<br />

must instead perform a Resync CP operation. The Resync CP command<br />

allows you to merge around unwanted revisions in your sandbox. For<br />

more information on resynchronizing change packages, see “Using the<br />

Resync CP Command” on page 375.<br />

The next example illustrates how Apply CP handles a more complex<br />

change package—one that contains code modifications that are dependent<br />

on a new file. In this example, main.c is revised to call a value defined in a<br />

new file, main.h.<br />

363

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

Saved successfully!

Ooh no, something went wrong!