Gets or sets Rule for how the merged version appears in the destination state.
object.Placement = [value]
CaWCrossProjectMerge
value - A string that represents the placement.
The following are the allowable values for the Placement.
Creates a merge version on the target branch. This allows changes to be copied from the source project to the target project even if one or more target items are reserved for updates in the main trunk. With this option, a branch will be created to store the changes.
Creates a merge version on the target trunk.
Creates a merge version on the target trunk or branch. This allows changes to be copied from the source project to the target project even if one or more target items are reserved for update in the main trunk. If items are reserved for update on the trunk, a branch will be created to store the changes. If items are not reserved for update on the trunk, the items are simply copied to the trunk.
Example
Dim objCrossProjectMerge Set objCrossProjectMerge = objContext.GetCrossProjectMerge(); objCrossProjectMerge.Placement = “T” strMergeRule = objCrossProjectMerge.Placement
| Copyright © 2013 CA. All rights reserved. |
|