wiki:RevtreePlugin

Version 3 (modified by Emmanuel Blot, 17 years ago) (diff)

Add a configuration section

Revision Graph for the Version Control Browser

Description

Render a graphical representation of the repository.

It superseeds the SvnCcHelpersScript/RevTree plugin:

  1. it does not rely on any Clearcase external scripts nor any SVN custom properties.
  2. it does not use the GraphvizPlugin nor the Graphviz (dot) tool - it is a pure Python implementation
  3. it uses the Trac repository cache, which dramatically speeds up the creation of the graph

This plugin is under heavy development, not published yet.

Bugs/Feature Requests

Existing bugs and feature requests for RevtreePlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from [download:revtreeplugin here].

Source

You can check out RevtreePlugin from here using Subversion, or browse the source with Trac.

Configuration

Revtree plugin can be configured with the help of the following settings:

  • Mandatory parameters defined in the Trac section
    [trac]
    # SVN repositories only
    repository_type = svn
    # Base URL is a required parameter
    base_url = none
    
  • Optional parameters defined in the revtree section
    [revtree]
    # regular expression for branch recognition 
    # (always define 2 named groups: 'branch' and 'path')
    branch_re = ^(?P<branch>branches/[^/]+|trunk|data)(?:/(?P<path>.*))?$
    # space-separated list of branches that should be considered as 'trunks'
    trunks = trunk
    # SVG rendering scale (real number)
    scale = 1
    # oldest revision to consider (default to the latest revision in the repos)
    revbase = 1
    # whether time filters are related to the youngest revision or 
    # based on absolute time
    reltime = True
    # default appearance (either 'compact' or 'timeline')
    style = compact
    

Example

Revtree view (compact mode)

Recent Changes

15470 by rjollos on 2016-04-14 00:17:26
Remove tag_svn_revsion attribute

The attribute isn't supported in setuptools >= 10.

13844 by eblot on 2014-04-09 13:50:23
Creates a new directory for Revtree dedicated to Trac 1.1+ installations
13716 by eblot on 2014-03-03 08:59:13
Closes #7608. Remove seed initializer, keep random color generation in case a branch is not named (which should never happen)
(more)

Author/Contributors

Author: eblot
Contributors:

Attachments (10)

Download all attachments as: .zip