Changes between Version 2 and Version 3 of RevtreePlugin


Ignore:
Timestamp:
Dec 12, 2006, 2:36:23 AM (8 years ago)
Author:
eblot
Comment:

Add a configuration section

Legend:

Unmodified
Added
Removed
Modified
  • RevtreePlugin

    v2 v3  
    2929You can check out RevtreePlugin from [http://trac-hacks.org/svn/revtreeplugin here] using Subversion, or [source:revtreeplugin browse the source] with Trac.
    3030
     31== Configuration ==
     32
     33Revtree plugin can be configured with the help of the following settings:
     34 * Mandatory parameters defined in the Trac section
     35{{{
     36[trac]
     37# SVN repositories only
     38repository_type = svn
     39# Base URL is a required parameter
     40base_url = none
     41}}}
     42
     43 * Optional parameters defined in the `revtree` section
     44{{{
     45[revtree]
     46# regular expression for branch recognition
     47# (always define 2 named groups: 'branch' and 'path')
     48branch_re = ^(?P<branch>branches/[^/]+|trunk|data)(?:/(?P<path>.*))?$
     49# space-separated list of branches that should be considered as 'trunks'
     50trunks = trunk
     51# SVG rendering scale (real number)
     52scale = 1
     53# oldest revision to consider (default to the latest revision in the repos)
     54revbase = 1
     55# whether time filters are related to the youngest revision or
     56# based on absolute time
     57reltime = True
     58# default appearance (either 'compact' or 'timeline')
     59style = compact
     60}}}
     61
    3162== Example ==
    3263