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.

Using the Apply CP Command<br />

If Apply CP fails due to a required merge, use the Resync CP<br />

command on the same change package and create a resolution change<br />

package. Resync CP places the required files, locked, in your sandbox.<br />

Verify the merges to ensure they are correct.<br />

In your sandbox, check in the members, making sure to associate them<br />

with the newly created resolution change package.<br />

Close the resolution change package.<br />

Apply that resolution change package to the project.<br />

The Apply CP command works directly in the project, adding and<br />

dropping files, and updating file revisions as required to apply the<br />

resolution change package and update the project.<br />

It is important to note that while Resync CP can be used to apply a<br />

resolution change package, the results may not always be acceptable. For<br />

example, if your bug fix is in an existing project member, there would<br />

already be an archive for that member in the project. As a result, Resync CP<br />

would add the modified member on a branch. This additional branching<br />

might not be acceptable in your project.<br />

NOTE<br />

Using the Apply CP Command<br />

A helpful practice prior to using Apply CP, is to start with a Resync CP<br />

operation in a sandbox, and then build and test the results, even if no merges<br />

are required. Because the operation may be creating a combination of source<br />

code that has never existed before, this step ensures that the results will build<br />

and work. Once you are certain of the results, you can then use the Apply CP<br />

command and work directly in the project.<br />

Apply CP relies on the use of change packages to track individual changes<br />

that modify project content or create new content. The Apply CP operation<br />

presents you with a backfill list that includes all of the change packages<br />

required for the identified issue. If you accept the backfill list, the operation<br />

then adds and drops files, and updates file revisions as required to create<br />

the feature, content, or bug fix you are looking for.<br />

355

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

Saved successfully!

Ooh no, something went wrong!