Rule Builder > Working with Repositories in CVS > Merging Repositories

You can merge different versions of the same repository using the condition the top package, and the action replace in top package. These predicates enable you to search for rules that are stored in a particular top package, and copy them to another top package in the Rule Builder. This is useful if you have a development branch and a release branch in CVS and eventually want to merge them both.

All rules and packages contained in a top package are copied to the new package. In addition, any rule with the same name in the destination package will be replaced with the rule being copied.

For example, the following query can be used to copy the contents of top package P1 to top package P2:

 For each business rule
  •  such that the top package is P1
    
  • Do
  •  replace in top package P2
    
  • For more information, see the Enterprise Integration User's Manual.

    See Also

    Tokens for the Condition Part of a Query | Tokens for the Action Part of a Query


    Customer Support | Copyright © 1987-2004 ILOG S.A. All rights reserved. Legal terms. PREVIOUS   NEXT