wiki:RevtreePlugin/MergeEnhancer

RevtreePlugin enhancer for use with svnmerge

Description

MergeEnhancer is a plugin for the RevtreePlugin: it analyses the properties that are added by the svnmerge tool and renders merge operations between the repository branches.

Overview

The plugin has been developed following a request of several RevtreePlugin users. I don't use the svnmerge tool myself, and the plugin is far from being completed. It is not longer maintained and should be considered in alpha stage.

It has been tested with a copy of the original http://trac.edgewall.org SVN repository.

How it works

(to be documented)

Installation

Build the plugin

As with any other plugin, download the plugin code, and build a plugin egg file. The MergeEnhancer plugin source code comes with the RevtreePlugin (see RevtreePlugin#Installation), but is not built within the RevtreePlugin egg.

To build the MergeEnhancer plugin, change the current directory to the enhancers and build the egg file:

$ cd revtreeplugin/0.11/enhancers/mergeenhancer 
$ python setup.py bdist_egg

then copy the egg file to the global plugin directory or the project plugin directory

Enable the plugin

From the WebAdmin plugin interface or from your trac.ini file, enable the MergeEnhancer plugin.
The MergeEnhancer plugin appears as mergeenhancer.enhancer in the plugin list.

Obviously the revtree is also enabled, which means that your trac.ini file should look like the following snippet:

[components]
revtree.* = enabled
mergeenhancer.enhancer.mergeenhancer = enabled

The MergeEnhancer plugin can be safely used in conjunction with the default SimpleEnhancer plugin that is self-contained in the RevtreePlugin. The default plugin is useful to depict the initial changeset of a new branch.

You can perform the same operations from the WebAdmin interface.

Rendering

svnmerge enhancer in action
The svnmerge plugin enhancer in action

The source changesets of a svnmerge operation are outlined with a light colored box, which reminds the color of the destination changeset (that is the color of the branch of the merged changeset).

The merge operation is represented with an arrow of the same color as the destination branch as well.

Author/Contributors

Last modified 16 years ago Last modified on Apr 30, 2008, 9:50:40 PM

Attachments (1)

Download all attachments as: .zip