6.1.1  Colouring Used In Graphs

The Revision History window uses colour to indicate certain specific things.

The revision nodes themselves are colour coded to indicate either what branch they are on or who created that revision, which depends upon what the user selected in the Change History graph dialog window. If a node is white then this means that it has no branch or author ownership (theoretically you should never see this but Monotone databases can contain such revisions depending upon how they have been maintained).

A revision node's border colour also indicates important information. The following colours are used:

Colour

Description

Black

This means that the node is on a selected branch or that all branches were selected for the history graph.

Grey

This means that the node is not on a selected branch but has nevertheless been shown as it is an ancestor or descendant to a node that is on a selected branch.

Cyan

This means that the node is on a suspended branch.

This only works when Show suspended revisions under user preferences is not ticked. To determine this fact by alternate means is too costly especially when drawing a history graph.

An additional reddish-orange border around a node shows that it has been selected either by the parent Monotone Browser window or by the user left clicking on it.

Figure 6-2  A History Graph Window Showing A Branchless Revision
Figure 6-3  A History Graph Window Showing The Graph's Colour Key