Working with Branches#

In Allegra, each workspace has a main branch or branch. You can branch further from the main branch or any other branch. In each branch, there is a HEAD version for each document in it.

Creating a Branch#

To create a branch in a workspace in the Wiki Navigator, click on the workspace to open the context menu. Select “Create Branch”. You can choose between inheritance mode and copy mode. The inheritance mode implies that items in the target branch are bound to the HEAD versions of the source branch as long as a document in the target branch is not changed. Changes in the source branch are thus immediately visible in the target branch. In copy mode, documents in the target branch are tied to the version of the source branch that was the HEAD version at the time the target version was created. If documents in the source branch are edited, this has no impact on the corresponding documents in the target branch.

Viewing a Branch#

You can view a branch by switching to the branch from the context menu of the Wiki Navigator.

Merging Branches#

This function is not yet supported.

Comparing Branches#

Select “Compare Branch” from the context menu. In the next popup dialog, select the two branches/baselines to be compared. You will receive a view similar to the following image. If you double-click on a document, a new screen will be displayed describing the differences between the two document variants.

Viewing Branch Relationships#

For each document that originates from another branch, you have a toolbar button on the “Versions” tab that takes you to the original source document. The tooltip shows you where this document is located. If a document is a member of one or more baselines, another toolbar button opens a list of the reference lines. If a document is the source for a document in other branches, the same button on the toolbar also displays a list of these documents in the target branches.

Deleting Branches#

You can delete a branch from the context menu of the Wiki Navigator.