| 48 | == [svn:externals] == |
| 49 | ''(since 0.11)'' |
| 50 | |
| 51 | The TracBrowser for Subversion can interpret the `svn:externals` property of folders out of the box. |
| 52 | However, 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 | |
| 54 | This mapping is done in the `[svn:externals]` section of the TracIni |
| 55 | |
| 56 | Example: |
| 57 | {{{ |
| 58 | [svn:externals] |
| 59 | http://theirserver.org/svn/eng-soft http://ourserver/viewvc/svn/$path/?pathrev=25914 |
| 60 | svn://anotherserver.com/tools_repository http://ourserver/trac/support/browser/$path?rev=$rev |
| 61 | }}} |
| 62 | With 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 | |