Gets or sets Rule for how to merge the versions of files in the packages.
object.MergeRule = [value]
CaWCrossProjectMerge
value - A string that represents the rule.
The following are the allowable values for the Merge Rule.
Take the entire trunk version and ignore the version on the branch. This corresponds to the GUI TakeTrunk Version option.
Take the entire branch version and ignore the version on the trunk. This corresponds to the GUI Take Branch Version option.
Create a merge tag only if changes in branch and trunk conflict. This corresponds to the GUI Merge Aggressively option.
Create a merge tag if there is any difference in the trunk and branch version at all. This corresponds to the GUI Merge Conservatively option.
Example
Dim objCrossProjectMerge Set objCrossProjectMerge = objContext.GetCrossProjectMerge(); objCrossProjectMerge.MergeRule = “A” strMergeRule = objCrossProjectMerge.MergeRule
| Copyright © 2013 CA. All rights reserved. |
|