| 31 | == Configuration == |
| 32 | |
| 33 | Revtree 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 |
| 38 | repository_type = svn |
| 39 | # Base URL is a required parameter |
| 40 | base_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') |
| 48 | branch_re = ^(?P<branch>branches/[^/]+|trunk|data)(?:/(?P<path>.*))?$ |
| 49 | # space-separated list of branches that should be considered as 'trunks' |
| 50 | trunks = trunk |
| 51 | # SVG rendering scale (real number) |
| 52 | scale = 1 |
| 53 | # oldest revision to consider (default to the latest revision in the repos) |
| 54 | revbase = 1 |
| 55 | # whether time filters are related to the youngest revision or |
| 56 | # based on absolute time |
| 57 | reltime = True |
| 58 | # default appearance (either 'compact' or 'timeline') |
| 59 | style = compact |
| 60 | }}} |
| 61 | |