Changes between Initial Version and Version 1 of RevtreePlugin/MergeInfoEnhancer


Ignore:
Timestamp:
Apr 30, 2008, 9:59:04 PM (16 years ago)
Author:
Emmanuel Blot
Comment:

Creation

Legend:

Unmodified
Added
Removed
Modified
  • RevtreePlugin/MergeInfoEnhancer

    v1 v1  
     1= RevtreePlugin enhancer for SVN 1.5 or later =
     2
     3== Description ==
     4
     5!MergeInfoEnhancer is a plugin for the RevtreePlugin: it analyses the
     6properties that are added by svn on merge operations and renders a graphical
     7representation of these merge operations between the repository branches.
     8
     9== Overview ==
     10
     11The plugin is in a very early development stage. SVN 1.5 has yet to be
     12released (April '08 30^th^)
     13
     14== How it works ==
     15
     16The !MergeInfoEnhancer plugin looks for `svn:mergeinfo` properties and attempts
     17to find the merge operations between the SVN repository branches. For now, it
     18only deals with global merge operations.
     19
     20== Installation ==
     21
     22=== Build the plugin ===
     23
     24As with any other plugin, download the plugin code, and build a plugin egg
     25file. The !MergeInfoEnhancer plugin source code comes with the RevtreePlugin
     26(see RevtreePlugin#Installation), but is not built along with the RevtreePlugin
     27egg.
     28
     29To build the !MergeInfoEnhancer plugin, change the current directory to the
     30`enhancers` and build the egg file:
     31{{{
     32$ cd revtreeplugin/0.11/enhancers/mergeinfoenhancer
     33$ python setup.py bdist_egg
     34}}}
     35then copy the egg file to the global plugin directory or the project plugin
     36directory
     37
     38=== Enable the plugin ===
     39
     40From the [t:wiki:WebAdmin WebAdmin] plugin interface or from your `trac.ini`
     41file, enable the !MergeInfoEnhancer plugin.[[BR]]
     42The !MergeEnhancer plugin appears as `mergeinfoenhancer.enhancer` in the
     43plugin list.
     44
     45Obviously the revtree is also enabled, which means that your `trac.ini` file
     46should look like the following snippet:
     47{{{
     48[components]
     49revtree.* = enabled
     50mergeinfoenhancer.enhancer.mergeinfoenhancer = enabled
     51}}}
     52
     53The !MergeEnhancer plugin is better used in conjunction with the default
     54!SimpleEnhancer plugin that is self-contained in the RevtreePlugin. The
     55default plugin is useful to depict the initial changeset of a new branch. The
     56MergeInfoEnhancer plugin does not track branch creation operations, so it is
     57recommended to keep the !SimpleEnhancer feature enabled when the
     58MergeInfoEhnancer plugin is enabled.
     59
     60You can perform the same operations from the [t:wiki:WebAdmin WebAdmin]
     61interface.
     62
     63== Rendering ==
     64
     65[[Image(RevtreePlugin/MergeEnhancer:revtree-svnmerge.png)]][[br]]
     66''The svnmerge plugin enhancer in action''
     67
     68The source changesets of a svnmerge operation are outlined with a light
     69colored box, which reminds the color of the destination changeset (that is the
     70color of the branch of the ''merged'' changeset).
     71
     72The merge operation is represented with an arrow of the same color as the
     73destination branch as well.
     74
     75== Author/Contributors ==
     76 * '''Author''' [wiki:eblot]
     77