WARNING

This text was automatically converted from troff me macros to HTML. Information may have been lost, added, or changed in the process. Lars Aronsson and Lysator do not guarantee the correctness of this HTML document.

NAME

merge *- merge two classes

SYNOPSIS

merge classname1 into classname2

DESCRIPTION

Merge will combine a version class, classname1 , with its parent, classname2 . If classname2 is a base class, then this operation merges a differently encoded offset, classname1 , into its parent. On the other hand, if classname2 is also a version, then this operation combines two differentially encoded offsets together into a single one. In either case any children of classname1 becomes children of classname2 .

It is disallowed for a version class to be merged into its parent class when the parent class is also the parent of another version class.

Moreover, merging in the reverse direction is also allowed. Specifically, merging the parent, classname1 , with a version, classname2 , causes classname2 to become disassociated from its parent. As a side effect, classname1 will be destroyed if is not the parent of some other version class.

EXAMPLE

/* Combine office class and employee class */

merge office into employee

SEE ALSO

destroy(commands), create version(commands).

BUGS

Merge has not yet been implemented.