There are plans to provide a tool that will merge the work done on a list of bugs into a given label.
Work done on bugs can be merged in a label using the command scmbug_merge. Two merging capabilities are available:
Merging bug changes in a codebase based on an existing tag, and applying a new tag: The user supplies a --base-label option which specifies the label (usually a tag) against which the changes in the specified list of bug ids should be applied. A temporary branch is created based on this label, and the bug changes are applied on this branch. The resulting codebase is label with the name specified by --target-label, and the temporary branch is deleted.
An example merging bug changes in a codebase based on an existing tag is shown in Figure 7-10.
Merging bug changes directly in an existing branch:The user supplies a --base-label option which specifies the label (usually a branch or the main development line) against which the changes in the specified list of bug ids should be applied. The changes are applied directly in this label. No --target-label option is supplied.
An example merging bug changes directly in an existing branch is shown in Figure 7-11.