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.

Resync CP<br />

Backfill List<br />

Using the Resync CP Command<br />

For example, consider a simplified application in the main trunk of<br />

development for the Aurora project (Aurora_Project.pj). The project<br />

member, tool.c, includes a bug fix for Issue 24 and is associated with the<br />

file tool.c (revision 1.7) through change package (CP) 24:1.<br />

The developer wants to pick up the changes that address the bug fix and<br />

apply these in a sandbox. In the developer’s sandbox, tool.c is at revision<br />

1.2.<br />

To apply the bug fix in the sandbox, the developer uses the si resynccp<br />

command to apply CP 24:1 as follows:<br />

si resynccp -S c:/Aurora_Project/project.pj 24:1<br />

Applying change packages...<br />

24:1<br />

The following warnings have occurred:<br />

-------------------<br />

The change package(s)<br />

20:1 -- tool.c(1.3)<br />

21:1 -- tool.c(1.4)<br />

22:1 -- tool.c(1.5)<br />

23:1 -- tool.c(1.6)<br />

are required in order to apply this list of change<br />

packages. They will be automatically added to the list,<br />

since the backfill option is set to Entire Change<br />

Package(cp).<br />

--------------------<br />

*** The following set of operations will be performed:<br />

Project: f:/Aurora_Project/project.pj<br />

Sandbox: c:\Aurora_Sandbox\project.pj<br />

Member tool.c: resynchronize to Revision 1.7<br />

Are you sure you wish to proceed? [yn]: y<br />

In this case, Resync CP updates the working file revision for tool.c from<br />

1.2 to 1.7 in the sandbox. This is done by checking out tool.c at 1.7 into<br />

the sandbox. The changes made from revisions 1.3 through 1.6 are already<br />

included in this checked out file.<br />

The following provides an example of the backfill list and how it works in<br />

the Resync CP command. The main project, Aurora_Project.pj, now<br />

includes an additional bug fix for project member, tool.c. Issue 23<br />

addresses that bug fix and is associated with the file tool.c (revision 1.6)<br />

through CP 23:1.<br />

377

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

Saved successfully!

Ooh no, something went wrong!