6.3  The Manage Tag Weightings Dialog Window

When you left click on a History Graph window's Manage Tag Weightings button you will be presented with a dialog window like the one shown below.

Figure 6-6  A Manage Tag Weightings Dialog Window

This dialog window allows you to manage a list of tag weightings that are used to decide what tags are displayed for revision nodes in a history graph. On the left hand side is the list of weightings along with their tag name patterns. To the right of this list are two entry fields where one can enter new a tag name pattern and its associated weighting and then left click on the + button just to the right of these entry fields to add them to the list. Likewise, when you left click on the - then the currently selected tag weighting is removed from the list.

Tag name patterns are in the form of extended regular expressions (please see regex(7) for further details on regular expressions), whilst weightings are simply a number ranging from -5 to 5. When a revision is about to be displayed that has one or more tags associated with it, Monotone Browser will try and match each tag with an entry in the weightings list. If there is a match then that tag is assigned the associated weighting, otherwise it is assigned a default weighting of zero. The tag with the highest weighting is then displayed inside the revision's node on the history graph.

There is no mechanism for suppressing the displaying of tags completely as tags are deemed more meaningful than a revision id.