Gets or sets Rule for how to merge the versions of files in the package.
object.MergeRule = [value]
CaWConcurrentMerge
value - A string that represents the rule value.
The following are the allowable values for the Merge Rule. They are defined in an include file built into the project.
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 objConcurrentMerge Set objConcurrentMerge = objContext.GetConcurrentMerge() objConcurrentMerge.MergeRule = “A” strMergeRule = objConcurrentMerge.MergeRule
More information:
| Copyright © 2013 CA. All rights reserved. |
|