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.

Merging in the<br />

Command Line<br />

Interface<br />

Merging Revisions<br />

In the command line interface, you can merge two revisions using the si<br />

merge command. Merging in the command line interface operates as the<br />

graphical user interface where two revisions and a working file are<br />

compared and merged.<br />

You can also launch the <strong>MKS</strong> Visual Merge and <strong>MKS</strong> Visual Difference<br />

tools from the command line interface by using the -g option with the<br />

merge command.<br />

To merge two revisions in the command line interface<br />

Use the si merge command:<br />

where<br />

si merge -r value -r value member --sandbox=value<br />

-r value -r value specifies the revisions you want to merge, for<br />

example, -r1.1 -r1.2.<br />

member specifies the member whose revisions you want to merge, for<br />

example, demoapp.c.<br />

--sandbox=value specifies the sandbox containing the member whose<br />

revisions you want to merge, for example, c:/sandboxdemo/<br />

project.pj.<br />

Depending on the preferences you have set for the Merge command (see<br />

“Command Preferences” on page 48), Source Integrity may ask one or both<br />

of the following questions:<br />

How would you like to perform the merge?<br />

Select an option from the list provided.<br />

How would you like to handle conflicts?<br />

Select an option from the list provided.<br />

Source Integrity merges the differences between the two revisions and<br />

saves them to the member’s working file.<br />

Check in the merged revision.<br />

For a complete list of options for the si merge command, see the<br />

Source Integrity Enterprise Edition CLI Reference <strong>Guide</strong>.<br />

335

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

Saved successfully!

Ooh no, something went wrong!