Edgewall Software

Changes between Version 100 and Version 101 of TracIni


Ignore:
Timestamp:
Aug 22, 2007, 4:58:26 PM (17 years ago)
Author:
Christian Boos
Comment:

Document the [svn:externals] section (related to #2340)

Legend:

Unmodified
Added
Removed
Modified
  • TracIni

    v100 v101  
    4646In this section, you can define additional fields for tickets. See TracTicketsCustomFields for more details.
    4747
     48== [svn:externals] ==
     49''(since 0.11)''
     50
     51The TracBrowser for Subversion can interpret the `svn:externals` property of folders out of the box.
     52However, if those externals are ''not'' using the `http:` protocol, or if a link to a different repository browser (such another Trac or [http://www.viewvc.org/ ViewVC]) is desired, then Trac needs to be able to map an external prefix to this other URL.
     53
     54This mapping is done in the `[svn:externals]` section of the TracIni
     55
     56Example:
     57{{{
     58[svn:externals]
     59http://theirserver.org/svn/eng-soft       http://ourserver/viewvc/svn/$path/?pathrev=25914
     60svn://anotherserver.com/tools_repository  http://ourserver/trac/support/browser/$path?rev=$rev
     61}}}
     62With the above, the `svn://anotherserver.com/tools_repository/tags/1.1/tools` external will be mapped to `http://ourserver/trac/support/browser/tags/1.1/tools?rev=` (and `rev` will be set to the appropriate revision number if the external additionally specifies a revision, see the [http://svnbook.red-bean.com/en/1.4/svn.advanced.externals.html SVN Book on externals] for more details).
     63
     64
    4865----
    4966See also: TracGuide, TracAdmin, TracEnvironment